fix editor height in buffer search, but the dancing is back

Co-authored-by: Piotr <piotr@zed.dev>
This commit is contained in:
KCaverly 2023-08-16 13:51:41 +01:00
parent a59535efa1
commit 6f78a1633d

View file

@ -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")
}
}