Skip to content

Commit

Permalink
fix(radio): replace margin-right from box to text margin-left (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Maslov authored Aug 7, 2020
1 parent de4bc98 commit 59230de
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/radio/radio.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,17 @@
.radio__box {
width: var(--size-m-box);
height: var(--size-m-box);
margin-right: var(--gap-xs);

&:after {
width: var(--size-m-box);
height: var(--size-m-box);
}
}

.radio__text {
margin-left: var(--gap-xs);
}

&.radio_checked .radio__box {
&:before {
width: 5px;
Expand All @@ -101,14 +104,17 @@
.radio__box {
width: var(--size-l-box);
height: var(--size-l-box);
margin-right: var(--gap-s);

&:after {
width: var(--size-l-box);
height: var(--size-l-box);
}
}

.radio__text {
margin-left: var(--gap-s);
}

&.radio_checked .radio__box {
&:before {
width: 8px;
Expand Down

0 comments on commit 59230de

Please sign in to comment.