Fix unaligned close button in tab bar
Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
co-authored by
Marshall
parent
90f4c70a82
commit
b9be2147e8
@@ -1119,7 +1119,7 @@ impl Render for AssistantPanel {
|
||||
)
|
||||
.children(self.active_editor().map(|editor| {
|
||||
h_flex()
|
||||
.h(rems(Tab::HEIGHT_IN_REMS))
|
||||
.h(rems(Tab::CONTAINER_HEIGHT_IN_REMS))
|
||||
.flex_1()
|
||||
.px_2()
|
||||
.child(Label::new(editor.read(cx).title(cx)).into_element())
|
||||
|
||||
Reference in New Issue
Block a user