From 459b1677c0d56322da0cc96d3c6d42a4067b0b36 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Mon, 17 Sep 2018 21:30:08 +0800 Subject: [PATCH] revert: tabs style --- components/tabs/style/index.less | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/components/tabs/style/index.less b/components/tabs/style/index.less index 1d6be76ef..e3e39cbc3 100644 --- a/components/tabs/style/index.less +++ b/components/tabs/style/index.less @@ -205,21 +205,26 @@ font-weight: 500; } } - - &-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) {