Skip to content

Commit

Permalink
fix(Tabs): basic tab nested card tab padding error (#15461)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonaliaChen authored and luckyCao committed May 17, 2019
1 parent 28583d8 commit 107b831
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/theme-chalk/src/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}
Expand Down

0 comments on commit 107b831

Please sign in to comment.