# Fix vertical alignment of labels in file tree \(\#9959\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/64ea74d1db761e480361214d983e6676b47d5dc2)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 64ea74d1db761e480361214d983e6676b47d5dc2

Requested commit: 64ea74d1db761e480361214d983e6676b47d5dc2

Commit: 64ea74d1db761e480361214d983e6676b47d5dc2

Tree: 937ee7218f672a552251466e439180b7e51a1bca

Author: Marshall Bowers

Committer: GitHub

## Message

```
Fix vertical alignment of labels in file tree (#9959)

This PR fixes the vertical alignment of the labels in the file tree in
the project panel.

This appears to have been introduced in
https://github.com/zed-industries/zed/pull/8988 through the addition of
the `.h_6` in conjunction with a `div`, causing the contents to not be
vertically aligned.

### Before

<img width="287" alt="Screenshot 2024-03-29 at 12 44 15 PM"
src="https://github.com/zed-industries/zed/assets/1486634/b275b66c-55eb-4980-95b9-6751d0b4998a">

### After

<img width="259" alt="Screenshot 2024-03-29 at 12 44 42 PM"
src="https://github.com/zed-industries/zed/assets/1486634/8d7c1799-255f-4e01-8980-ccb19f49279a">


Release Notes:

- Fixed the vertical alignment of labels in the file tree to better
align with the file icons.
```

## Parents

- [16e6f5643cec67982a88bebee6d8d49537af7306](https://git.cafe/gitcafe/zed/commit/16e6f5643cec67982a88bebee6d8d49537af7306?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/64ea74d1db761e480361214d983e6676b47d5dc2?format=markdown)
