Skip to content

Commit

Permalink
fix(Radio): fix disabled style error (#2875)
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao authored Jun 21, 2024
1 parent ab83664 commit 5507525
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/radio/radio.less
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,14 @@
color: @radio-label-color;
line-height: @radio-label-line-height;

&--checked {
color: @radio-label-checked-color;
}

&--disabled {
cursor: not-allowed;
color: @radio-label-disabled-color;
}

&--checked {
color: @radio-label-checked-color;
}
}

&__description {
Expand All @@ -200,15 +200,15 @@
font-size: @radio-content-font-size;
line-height: @radio-content-line-height;

&--checked {
color: @radio-content-checked-color;
}

&--disabled {
cursor: not-allowed;
color: @radio-content-disabled-color;
}

&--checked {
color: @radio-content-checked-color;
}

&:empty {
display: none;
}
Expand Down

0 comments on commit 5507525

Please sign in to comment.