file_finder: Reduce vertical padding in footer (#31632)
Follow-up to #31542 This PR reduces the vertical padding in the file finders footer. We can remove this padding as we already apply it just above https://github.com/zed-industries/zed/blob/799a561a2cf8d864f56c8bf34962b60d00c611d0/crates/file_finder/src/file_finder.rs#L1500 This also ensures that the items on the right side have the same padding to the border as the icon on the left side. Currently, due to the padding being applied twice, the items on the right side have `pr_4` as well as `py_4` in practice, which seems a little excessive. | `main` | This PR | | --- | --- | |  |  | Release Notes: - N/A
This commit is contained in:
1 parent
4b80937b9b
commit
55d46fa44e
1 file changed
-1
@@ -1527,7 +1527,6 @@ impl PickerDelegate for FileFinderDelegate {
|
||||
)
|
||||
.child(
|
||||
h_flex()
|
||||
.p_2()
|
||||
.gap_2()
|
||||
.child(
|
||||
Button::new("open-selection", "Open").on_click(|_, window, cx| {
|
||||
|
||||
Reference in new issue
Block a user