Skip to content

Commit

Permalink
fix(tabbar): resolve width when virtual-host not available (#2013)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJim authored May 17, 2023
1 parent d0a2a61 commit 66f7ad0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tab-bar-item/tab-bar-item.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
@tab-bar-spread-shadow: var(--td-tab-bar-spread-shadow, @shadow-3);
@tab-bar-spread-border-color: var(--td-tab-bar-spread-border-color, @border-color);

:host {
flex: 1;
}

.@{item} {
flex: 1;
height: @tab-bar-height;
Expand Down

0 comments on commit 66f7ad0

Please sign in to comment.