Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

project search: Fix alignment in the filter inputs (#46726)

Danilo Leal6b1b5fa6b207
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index cacf6b0dec4..e4e9dc50e88 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -2268,11 +2268,11 @@ impl Render for ProjectSearchBar {
h_flex()
.w_full()
.gap_2()
+ .child(alignment_element())
.child(
h_flex()
- .gap_2()
.w(input_width)
- .child(alignment_element())
+ .gap_2()
.child(include)
.child(exclude),
)