Merge pull request #2230 from zed-industries/fix-tab-x

Fix tab bar x
This commit is contained in:
Mikayla Maki 2023-03-02 19:48:08 -08:00 committed by GitHub
commit 24ba47e75d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 6 deletions

View file

@ -1355,7 +1355,7 @@ impl Pane {
} else {
Empty::new().boxed()
})
.with_width(tab_style.icon_width)
.with_width(tab_style.close_icon_width)
.boxed(),
)
.boxed(),

View file

@ -108,7 +108,7 @@ impl Item for SharedScreen {
Svg::new("icons/disable_screen_sharing_12.svg")
.with_color(style.label.text.color)
.constrained()
.with_width(style.icon_width)
.with_width(style.type_icon_width)
.aligned()
.contained()
.with_margin_right(style.spacing)