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 match count

Piotr Osiewiczde8e1852a8ee
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index 6b303d2ce8b..e746d75cdda 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -1918,8 +1918,6 @@ impl View for ProjectSearchBar {
)
.contained()
.with_style(theme.search.match_index.container)
- .aligned()
- .left()
});
let filters = search.filters_enabled.then(|| {
@@ -1955,6 +1953,7 @@ impl View for ProjectSearchBar {
Flex::column()
.with_child(
Flex::row()
+ .align_children_center()
.with_child(
Flex::row()
.with_child(self.render_nav_button(