tab: Remove w_full from TabBar. (#683)
This commit is contained in:
parent
f8a530279a
commit
8c4884d881
2 changed files with 1 additions and 3 deletions
|
|
@ -507,6 +507,7 @@ impl RenderOnce for Tab {
|
||||||
self.base
|
self.base
|
||||||
.id(self.id)
|
.id(self.id)
|
||||||
.flex()
|
.flex()
|
||||||
|
.flex_wrap()
|
||||||
.items_center()
|
.items_center()
|
||||||
.flex_shrink_0()
|
.flex_shrink_0()
|
||||||
.cursor_pointer()
|
.cursor_pointer()
|
||||||
|
|
|
||||||
|
|
@ -159,11 +159,8 @@ impl RenderOnce for TabBar {
|
||||||
|
|
||||||
self.base
|
self.base
|
||||||
.group("tab-bar")
|
.group("tab-bar")
|
||||||
.w_full()
|
|
||||||
.relative()
|
.relative()
|
||||||
.flex()
|
.flex()
|
||||||
.flex_none()
|
|
||||||
.flex_nowrap()
|
|
||||||
.items_center()
|
.items_center()
|
||||||
.bg(bg)
|
.bg(bg)
|
||||||
.text_color(cx.theme().tab_foreground)
|
.text_color(cx.theme().tab_foreground)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue