Fix unaligned close button in tab bar
Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
parent
90f4c70a82
commit
b9be2147e8
5 changed files with 9 additions and 7 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue