mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
fix: Nesting tabs of different sizes, the style does not take effect (#11936)
This commit is contained in:
parent
7d38f8f435
commit
c63c971ded
@ -206,20 +206,26 @@
|
||||
}
|
||||
}
|
||||
|
||||
&-large &-nav-container {
|
||||
font-size: @tabs-title-font-size-lg;
|
||||
&-large {
|
||||
> .@{tab-prefix-cls}-bar {
|
||||
.@{tab-prefix-cls}-nav-container {
|
||||
font-size: @tabs-title-font-size-lg;
|
||||
}
|
||||
.@{tab-prefix-cls}-tab {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-large &-tab {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
&-small &-nav-container {
|
||||
font-size: @tabs-title-font-size-sm;
|
||||
}
|
||||
|
||||
&-small &-tab {
|
||||
padding: 8px 16px;
|
||||
&-small {
|
||||
> .@{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) {
|
||||
|
Loading…
Reference in New Issue
Block a user