Skip to content

Commit

Permalink
style(RadioButton): fix alignment issue in Safari, Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Sep 14, 2023
1 parent 8f0a628 commit f77ad6d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ $radio-border-width: 1px !default;
}

.#{$prefix}--radio-button__label {
line-height: 1.25;
// line-height: 1.25;
margin-inline-end: 0;
}

Expand All @@ -70,14 +70,16 @@ $radio-border-width: 1px !default;
}

.#{$prefix}--radio-button__label {
@include type.type-style('body-compact-01');

display: flex;
align-items: center;
cursor: pointer;
margin-inline-end: $spacing-05;
}

.#{$prefix}--radio-button__label-text {
@include type.type-style('body-compact-01');
}

.#{$prefix}--radio-button__appearance {
@include reset;

Expand Down

0 comments on commit f77ad6d

Please sign in to comment.