fix editor height in buffer search, but the dancing is back
Co-authored-by: Piotr <piotr@zed.dev>
This commit is contained in:
parent
a59535efa1
commit
6f78a1633d
1 changed files with 2 additions and 0 deletions
|
@ -263,6 +263,7 @@ impl View for BufferSearchBar {
|
|||
.constrained()
|
||||
.with_min_width(theme.search.editor.min_width)
|
||||
.with_max_width(theme.search.editor.max_width)
|
||||
.with_height(theme.search.search_bar_row_height)
|
||||
.flex(1., false),
|
||||
)
|
||||
.contained()
|
||||
|
@ -295,6 +296,7 @@ impl View for BufferSearchBar {
|
|||
.with_child(mode_column)
|
||||
.contained()
|
||||
.with_style(theme.search.container)
|
||||
.aligned()
|
||||
.into_any_named("search bar")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue