Skip to content

Commit

Permalink
fix(Tabs): basic tab nested card tab padding error (ElemeFE#15461)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonaliaChen authored and lzq4047 committed May 22, 2020
1 parent ded8057 commit 6c5af97
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 6c5af97

Please sign in to comment.