Skip to content

Commit

Permalink
fix(radio): calculate radio-inner width/height with border width (#10495
Browse files Browse the repository at this point in the history
)

* Fix incorrect .radio-inner width/height calculation

* Add additional fix to the .radio-inner width/height calculation of the android radio button icon
  • Loading branch information
floydspace authored and brandyscarney committed Feb 27, 2017
1 parent 1128c8b commit 176aa23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/radio/radio.md.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ $radio-md-item-right-margin: $item-md-padding-media-top 10px $item-md-paddi
top: $radio-md-icon-border-width;
left: $radio-md-icon-border-width;

width: $radio-md-icon-width / 2;
height: $radio-md-icon-height / 2;
width: $radio-md-icon-width - $radio-md-icon-border-width * 4;
height: $radio-md-icon-height - $radio-md-icon-border-width * 4;

border-radius: 50%;
background-color: $radio-md-color-on;
Expand Down

0 comments on commit 176aa23

Please sign in to comment.