Set a minimum size for the search input field (#3912)

Release Notes:

- Show search input field wider for narrow panes
This commit is contained in:
Kirill Bulatov 2024-01-05 18:46:48 +02:00 committed by GitHub
commit 5935979a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,6 +223,7 @@ impl Render for BufferSearchBar {
.gap_2()
.border_1()
.border_color(editor_border)
.min_w(rems(384. / 16.))
.rounded_lg()
.child(IconElement::new(Icon::MagnifyingGlass))
.child(self.render_text_input(&self.query_editor, cx))