Align search bar in the middle

Piotr Osiewicz created

Change summary

crates/search/src/project_search.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

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()