mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [checkbox] fix only child element style border-radius (#9746)
* fix(components): [checkbox] fix only child element style border-radius * refactor(components): [checkbox] prettier style closed #9745 * refactor(components): [checkbox] split border-radius
This commit is contained in:
@@ -106,8 +106,8 @@
|
||||
&:first-child {
|
||||
.#{$namespace}-checkbox-button__inner {
|
||||
border-left: getCssVar('border');
|
||||
border-radius: getCssVar('border-radius-base') 0 0
|
||||
getCssVar('border-radius-base');
|
||||
border-top-left-radius: getCssVar('border-radius-base');
|
||||
border-bottom-left-radius: getCssVar('border-radius-base');
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
@@ -120,8 +120,8 @@
|
||||
|
||||
&:last-child {
|
||||
.#{$namespace}-checkbox-button__inner {
|
||||
border-radius: 0 getCssVar('border-radius-base')
|
||||
getCssVar('border-radius-base') 0;
|
||||
border-top-right-radius: getCssVar('border-radius-base');
|
||||
border-bottom-right-radius: getCssVar('border-radius-base');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user