Skip to content

Commit

Permalink
RadioControl: Fix shrinking radio controls (#61476)
Browse files Browse the repository at this point in the history
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
  • Loading branch information
3 people committed May 8, 2024
1 parent 839c17d commit e899475
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/base-styles/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,14 @@
border-radius: $radius-round;
width: $radio-input-size-sm;
height: $radio-input-size-sm;
min-width: $radio-input-size-sm;
max-width: $radio-input-size-sm;

@include break-small() {
height: $radio-input-size;
width: $radio-input-size;
min-width: $radio-input-size;
max-width: $radio-input-size;
}

&:checked::before {
Expand Down

0 comments on commit e899475

Please sign in to comment.