Skip to content

Commit 176aa23

Browse files
floydspacebrandyscarney
authored andcommitted
fix(radio): calculate radio-inner width/height with border width (#10495)
* Fix incorrect .radio-inner width/height calculation * Add additional fix to the .radio-inner width/height calculation of the android radio button icon
1 parent 1128c8b commit 176aa23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/radio/radio.md.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ $radio-md-item-right-margin: $item-md-padding-media-top 10px $item-md-paddi
7575
top: $radio-md-icon-border-width;
7676
left: $radio-md-icon-border-width;
7777

78-
width: $radio-md-icon-width / 2;
79-
height: $radio-md-icon-height / 2;
78+
width: $radio-md-icon-width - $radio-md-icon-border-width * 4;
79+
height: $radio-md-icon-height - $radio-md-icon-border-width * 4;
8080

8181
border-radius: 50%;
8282
background-color: $radio-md-color-on;

0 commit comments

Comments
 (0)