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.

Align search bar in the middle

Piotr Osiewicz2c0e3886a5d4
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index d7ca0b6b46d..2f19c91868e 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -1950,8 +1950,9 @@ impl View for ProjectSearchBar {
.contained()
.with_style(theme.search.container)
.aligned()
+ .left()
.top()
- .flex(2., true),
+ .flex(1., true),
)
.with_child(
Flex::column()