fix(components): [radio & checkbox] fix button wrap style (#22073)

* fix(components): [radio] fix el-radio-button css

* fix(components): [radio] fix el-radio-button css

* fix(components): [radio] fix el-radio-button css

fix(components): [radio] fix el-radio-button css

* fix(components): [checkbox] fix checkbox-button border

fix(components): [checkbox] fix checkbox-button border

* fix(components): [radio & checkbox] fix button wrap style

* fix(components): [radio & checkbox] fix button wrap style

Removed unnecessary blank line in radio-button.scss.
This commit is contained in:
Spaceman
2025-12-02 15:18:15 +08:00
committed by GitHub
parent cba30d8cd2
commit 75b8917d0e
2 changed files with 2 additions and 8 deletions

View File

@@ -24,8 +24,7 @@
#{getCssVarName('button-bg-color')},
map.get($button, 'bg-color')
);
border: getCssVar('border');
border-left-color: transparent;
outline: getCssVar('border');
color: var(
#{getCssVarName('button-text-color')},
map.get($button, 'text-color')
@@ -33,7 +32,6 @@
-webkit-appearance: none;
text-align: center;
box-sizing: border-box;
outline: none;
margin: 0;
position: relative;
transition: getCssVar('transition-all');
@@ -104,7 +102,6 @@
&:first-child {
.#{$namespace}-checkbox-button__inner {
border-left: getCssVar('border');
border-top-left-radius: getCssVar('border-radius-base');
border-bottom-left-radius: getCssVar('border-radius-base');
box-shadow: none !important;

View File

@@ -23,12 +23,11 @@
#{getCssVarName('button-bg-color')},
map.get($button, 'bg-color')
);
border: getCssVar('border');
outline: getCssVar('border');
font-weight: var(
#{getCssVarName('button-font-weight')},
map.get($button, 'font-weight')
);
border-left: 0;
color: var(
#{getCssVarName('button-text-color')},
map.get($button, 'text-color')
@@ -36,7 +35,6 @@
-webkit-appearance: none;
text-align: center;
box-sizing: border-box;
outline: none;
margin: 0;
position: relative;
cursor: pointer;
@@ -65,7 +63,6 @@
&:first-child {
.#{$namespace}-radio-button__inner {
border-left: getCssVar('border');
border-radius: getCssVar('border-radius-base') 0 0
getCssVar('border-radius-base');
box-shadow: none !important;