Improve spacing of items in buffer search bar

This commit is contained in:
Marshall Bowers 2023-12-20 17:10:27 -05:00
parent b9bc74abe5
commit b493d8f6c0

View file

@ -214,6 +214,8 @@ impl Render for BufferSearchBar {
}
h_stack()
.w_full()
.gap_2()
.key_context(key_context)
.on_action(cx.listener(Self::previous_history_query))
.on_action(cx.listener(Self::next_history_query))
@ -239,7 +241,6 @@ impl Render for BufferSearchBar {
.when(self.supported_options().word, |this| {
this.on_action(cx.listener(Self::toggle_whole_word))
})
.w_full()
.child(
h_stack()
.flex_1()
@ -268,6 +269,7 @@ impl Render for BufferSearchBar {
)
.child(
h_stack()
.gap_2()
.flex_none()
.child(
h_stack()