Skip to content

Commit

Permalink
fix(radio): 样式变量修复(issue) (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-huxiyang authored Apr 3, 2024
1 parent 6100550 commit 48ecd0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/packages/radiogroup/radiogroup.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.nut-radiogroup {
.nut-radio {
margin-right: $radiogroup-radio-margin;
margin-bottom: $radiogroup-radio-margin-bottom;
margin: 0 $radiogroup-radio-margin $radiogroup-radio-margin-bottom 0;

&-label {
margin: $radiogroup-radio-label-margin;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1380,7 +1380,7 @@ $radio-button-disabled-active-color: var(
) !default;
$radiogroup-radio-margin: var(--nutui-radiogroup-radio-margin, 20px) !default;
$radiogroup-radio-margin-bottom: var(
--nutui-radiogroup-radio-margin,
--nutui-radiogroup-radio-margin-bottom,
5px
) !default;
$radiogroup-radio-label-margin: var(
Expand Down

0 comments on commit 48ecd0f

Please sign in to comment.