mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 06:03:35 +03:00
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:
commit
5935979a96
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user