Tabs: fix padding-left for nested tabs

pull/7940/merge
Leopoldthecoder 2017-11-01 15:13:41 +08:00 committed by 杨奕
parent 06112e51da
commit aa09c460ff
1 changed files with 6 additions and 1 deletions

View File

@ -225,9 +225,14 @@
}
}
@include m((top, bottom)) {
&:not(.el-tabs--border-card):not(.el-tabs--card) .el-tabs__item:nth-child(2) {
.el-tabs__item:nth-child(2) {
padding-left: 0;
}
&.el-tabs--border-card .el-tabs__item:nth-child(2),
&.el-tabs--card .el-tabs__item:nth-child(2) {
padding-left: 20px;
}
}
@include m(bottom) {
.el-tabs__header {