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
|
||||
.id(self.id)
|
||||
.flex()
|
||||
.flex_wrap()
|
||||
.items_center()
|
||||
.flex_shrink_0()
|
||||
.cursor_pointer()
|
||||
|
|
|
|||
|
|
@ -159,11 +159,8 @@ impl RenderOnce for TabBar {
|
|||
|
||||
self.base
|
||||
.group("tab-bar")
|
||||
.w_full()
|
||||
.relative()
|
||||
.flex()
|
||||
.flex_none()
|
||||
.flex_nowrap()
|
||||
.items_center()
|
||||
.bg(bg)
|
||||
.text_color(cx.theme().tab_foreground)
|
||||
|
|
|
|||
Loading…
Reference in a new issue