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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue