Skip to content

Commit

Permalink
fix(Tabs): basic tab nested card tab padding error
Browse files Browse the repository at this point in the history
fix #15216
  • Loading branch information
wanyu.chen committed May 8, 2019
1 parent b240f0e commit 38067d6
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 38067d6

Please sign in to comment.