Checkbox: refine style

pull/14127/head
Pan 2019-01-17 18:08:32 +08:00
parent 904e60ef1d
commit 6a6460eda6
1 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@
display: inline-block; display: inline-block;
white-space: nowrap; white-space: nowrap;
user-select: none; user-select: none;
margin-right: 30px;
@include when(bordered) { @include when(bordered) {
padding: $--checkbox-bordered-padding; padding: $--checkbox-bordered-padding;
@ -239,8 +240,8 @@
font-size: $--checkbox-font-size; font-size: $--checkbox-font-size;
} }
& + .el-checkbox { &:last-child {
margin-left: 30px; margin-right: 0;
} }
} }