Skip to content

Commit

Permalink
fix(tabs): keep nav always visible when layout is vertical (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJim authored Oct 11, 2022
1 parent 25cb7b6 commit c888ff6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/tabs/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,17 @@ page {
&--top {
border-bottom: solid 1rpx var(--td-tab-border-color, @tab-border-color);
}
}

&__content-inner {
display: block;
}

&__sticky {
&--left,
&--right {
width: @tab-item-width--vertical;
max-height: 100vh;
}
}

&__content-inner {
display: block;
}

&.@{prefix}-tabs--top,
&.@{prefix}-tabs--bottom {
flex-wrap: wrap;
Expand Down

0 comments on commit c888ff6

Please sign in to comment.