fix: Nesting tabs of different sizes, the style does not take effect #144

pull/165/head
tangjinzhou 6 years ago
parent f157298323
commit 0b31163a6a

@ -205,21 +205,26 @@
font-weight: 500; font-weight: 500;
} }
} }
&-large {
&-large &-nav-container { > .@{tab-prefix-cls}-bar {
font-size: @tabs-title-font-size-lg; .@{tab-prefix-cls}-nav-container {
} font-size: @tabs-title-font-size-lg;
}
&-large &-tab { .@{tab-prefix-cls}-tab {
padding: 16px; padding: 16px;
} }
}
&-small &-nav-container {
font-size: @tabs-title-font-size-sm;
} }
&-small &-tab { &-small {
padding: 8px 16px; > .@{tab-prefix-cls}-bar {
.@{tab-prefix-cls}-nav-container {
font-size: @tabs-title-font-size-sm;
}
.@{tab-prefix-cls}-tab {
padding: 8px 16px;
}
}
} }
&:not(&-vertical) { &:not(&-vertical) {

Loading…
Cancel
Save