Merge pull request #14127 from PanJiaChen/dev15

Checkbox: refine style
pull/14133/head
Zhi Cun 2019-01-17 18:57:38 +08:00 committed by GitHub
commit d475c7a0d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
} }
} }