ZIm/crates/project_panel/src
Marshall Bowers 64ea74d1db
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.
2024-03-29 12:55:31 -04:00
..
file_associations.rs Remove unneeded 'static lifetimes on &strs in constants (#8698) 2024-03-02 00:40:49 -05:00
project_panel.rs Fix vertical alignment of labels in file tree (#9959) 2024-03-29 12:55:31 -04:00
project_panel_settings.rs Revert "Add support of auto folded directories" (#8476) 2024-02-27 11:26:18 +01:00