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 "Select all" to the center

Piotr Osiewiczae229d4c524c
diff --git a/crates/search/src/buffer_search.rs b/crates/search/src/buffer_search.rs
index 33c6c1ec856..c7186065d64 100644
--- a/crates/search/src/buffer_search.rs
+++ b/crates/search/src/buffer_search.rs
@@ -247,9 +247,9 @@ impl View for BufferSearchBar {
.align_children_center()
.with_child(
Flex::row()
+ .align_children_center()
.with_child(
Flex::row()
- .align_children_center()
.with_child(
Svg::for_style(icon_style.icon)
.contained()