From 5ed55f6d46da480392fd6d0dd9cf85ddf03d9030 Mon Sep 17 00:00:00 2001 From: luckyCao Date: Mon, 27 May 2019 16:43:30 +0800 Subject: [PATCH] Tabs: left align title when type is card (#15695) --- packages/theme-chalk/src/tabs.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/theme-chalk/src/tabs.scss b/packages/theme-chalk/src/tabs.scss index e62e983378d..7385c2f72ca 100644 --- a/packages/theme-chalk/src/tabs.scss +++ b/packages/theme-chalk/src/tabs.scss @@ -328,7 +328,7 @@ width: 100%; text-align: center; cursor: pointer; - + i { transform: rotateZ(90deg); } @@ -393,6 +393,7 @@ border-right: 1px solid $--border-color-light; border-bottom: none; border-top: 1px solid $--border-color-light; + text-align: left; } .el-tabs__item.is-left:first-child { border-right: 1px solid $--border-color-light;