Set a minimum size for the search input field

This commit is contained in:
Kirill Bulatov 2024-01-05 18:41:40 +02:00
parent bf11a04410
commit 6cc48b97dd

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