mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
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
This commit is contained in:
@ -75,8 +75,8 @@ $radio-md-item-right-margin: $item-md-padding-media-top 10px $item-md-paddi
|
|||||||
top: $radio-md-icon-border-width;
|
top: $radio-md-icon-border-width;
|
||||||
left: $radio-md-icon-border-width;
|
left: $radio-md-icon-border-width;
|
||||||
|
|
||||||
width: $radio-md-icon-width / 2;
|
width: $radio-md-icon-width - $radio-md-icon-border-width * 4;
|
||||||
height: $radio-md-icon-height / 2;
|
height: $radio-md-icon-height - $radio-md-icon-border-width * 4;
|
||||||
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: $radio-md-color-on;
|
background-color: $radio-md-color-on;
|
||||||
|
Reference in New Issue
Block a user