Skip to content

Commit

Permalink
Tabs: fix padding-left for nested tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Leopoldthecoder committed Nov 1, 2017
1 parent 06112e5 commit aa09c46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/theme-chalk/src/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit aa09c46

Please sign in to comment.