Commit 513294d1 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Chalk: fix styles for vertical Slider and nested Tabs

parent 5e37f181
...@@ -140,12 +140,12 @@ ...@@ -140,12 +140,12 @@
@include when(vertical) { @include when(vertical) {
position: relative; position: relative;
.el-slider__runway { .el-slider__runway {
width: 4px; width: $--slider-height;
height: 100%; height: 100%;
margin: 0 16px; margin: 0 16px;
} }
.el-slider__bar { .el-slider__bar {
width: 4px; width: $--slider-height;
height: auto; height: auto;
border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px;
} }
......
...@@ -229,11 +229,13 @@ ...@@ -229,11 +229,13 @@
padding-left: 0; padding-left: 0;
} }
&.el-tabs--border-card .el-tabs__item:nth-child(2), &.el-tabs--border-card, &.el-tabs--card,
&.el-tabs--card .el-tabs__item:nth-child(2) { .el-tabs--left, .el-tabs--right {
.el-tabs__item:nth-child(2) {
padding-left: 20px; padding-left: 20px;
} }
} }
}
@include m(bottom) { @include m(bottom) {
.el-tabs__header { .el-tabs__header {
margin-bottom: 0; margin-bottom: 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment