diff --git a/crates/find/src/find.rs b/crates/find/src/find.rs index 2bf2e1133df4975cb74bb3f1f78c9c802c35b00a..859e9f4923f1804daf5de5202b59d278de90e61b 100644 --- a/crates/find/src/find.rs +++ b/crates/find/src/find.rs @@ -111,6 +111,13 @@ impl View for FindBar { .aligned() .boxed(), ) + .with_child( + Flex::row() + .with_child(self.render_nav_button("<", Direction::Prev, cx)) + .with_child(self.render_nav_button(">", Direction::Next, cx)) + .aligned() + .boxed(), + ) .with_children(self.active_editor.as_ref().and_then(|editor| { let (_, highlighted_ranges) = editor.read(cx).highlighted_ranges_for_type::()?; @@ -128,13 +135,6 @@ impl View for FindBar { .boxed(), ) })) - .with_child( - Flex::row() - .with_child(self.render_nav_button("<", Direction::Prev, cx)) - .with_child(self.render_nav_button(">", Direction::Next, cx)) - .aligned() - .boxed(), - ) .contained() .with_style(theme.find.container) .constrained() diff --git a/crates/zed/assets/themes/_base.toml b/crates/zed/assets/themes/_base.toml index 80d9c7cc697762c874fda9b4db6717de5b8d1d06..93019db6e41218ad611e5b0bdb3f4817816537d9 100644 --- a/crates/zed/assets/themes/_base.toml +++ b/crates/zed/assets/themes/_base.toml @@ -353,7 +353,6 @@ background = "$surface.2" [find.match_index] extends = "$text.1" padding = 6 -margin.left = 24 [find.editor] max_width = 400