fix(Tabs): basic tab nested card tab padding error (#15461)

pull/15621/head
Simona 2019-05-17 18:22:14 +08:00 committed by luckyCao
parent 28583d8a9b
commit 107b83108c
1 changed files with 7 additions and 5 deletions

View File

@ -266,11 +266,13 @@
&.el-tabs--border-card, &.el-tabs--card,
.el-tabs--left, .el-tabs--right {
.el-tabs__item:nth-child(2) {
padding-left: 20px;
}
.el-tabs__item:last-child {
padding-right: 20px;
> .el-tabs__header {
.el-tabs__item:nth-child(2) {
padding-left: 20px;
}
.el-tabs__item:last-child {
padding-right: 20px;
}
}
}
}