buffer: fix alignment of editor icon.

Co-authored-by: Kyle <kyle@zed.dev>
This commit is contained in:
Piotr Osiewicz 2023-08-14 14:31:14 +02:00
parent 9ae28f81c1
commit b72a42ec29

View file

@ -250,6 +250,7 @@ impl View for BufferSearchBar {
.align_children_center()
.with_child(
Flex::row()
.align_children_center()
.with_child(
Svg::for_style(icon_style.icon)
.contained()