support less vars for tabs title font size

This commit is contained in:
afc163 2018-02-28 11:07:26 +08:00
parent 23e7716137
commit 8a6b76acde
2 changed files with 4 additions and 2 deletions

View File

@ -387,6 +387,8 @@
@tabs-card-height: 40px;
@tabs-card-active-color: @primary-color;
@tabs-title-font-size: @font-size-base;
@tabs-title-font-size-lg: @font-size-sm;
@tabs-title-font-size-sm: @font-size-base;
@tabs-ink-bar-bg-color: @primary-color;
@tab-bar-margin: 0 0 16px 0;
@tab-horizontal-margin: 0 32px 0 0;

View File

@ -207,7 +207,7 @@
}
&-large &-nav-container {
font-size: @font-size-lg;
font-size: @tabs-title-font-size-lg;
}
&-large &-tab {
@ -215,7 +215,7 @@
}
&-small &-nav-container {
font-size: @font-size-base;
font-size: @tabs-title-font-size-sm;
}
&-small &-tab {