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
a5a116439e/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:
parent
00bdebc89d
commit
50bd8770bd
1 changed files with 0 additions and 1 deletions
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue