mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(radio): removd hard coded inner-width and inner-height for iOS
This commit is contained in:
@ -755,6 +755,10 @@ ion-radio,event,ionRadioDidUnload,void,true
|
|||||||
ion-radio,event,ionSelect,CheckedInputChangeEvent,true
|
ion-radio,event,ionSelect,CheckedInputChangeEvent,true
|
||||||
ion-radio,css-prop,--color
|
ion-radio,css-prop,--color
|
||||||
ion-radio,css-prop,--color-checked
|
ion-radio,css-prop,--color-checked
|
||||||
|
ion-radio,css-prop,--height
|
||||||
|
ion-radio,css-prop,--inner-height
|
||||||
|
ion-radio,css-prop,--inner-width
|
||||||
|
ion-radio,css-prop,--width
|
||||||
|
|
||||||
ion-range
|
ion-range
|
||||||
ion-range,prop,color,string | undefined,undefined,false
|
ion-range,prop,color,string | undefined,undefined,false
|
||||||
|
@ -25,9 +25,6 @@
|
|||||||
// -----------------------------------------
|
// -----------------------------------------
|
||||||
|
|
||||||
:host(.radio-checked) .radio-inner {
|
:host(.radio-checked) .radio-inner {
|
||||||
width: 5px;
|
|
||||||
height: 12px;
|
|
||||||
|
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
|
|
||||||
border-width: $radio-ios-icon-border-width;
|
border-width: $radio-ios-icon-border-width;
|
||||||
|
@ -7,6 +7,10 @@
|
|||||||
/**
|
/**
|
||||||
* @prop --color: Color of the radio
|
* @prop --color: Color of the radio
|
||||||
* @prop --color-checked: Color of the checked radio
|
* @prop --color-checked: Color of the checked radio
|
||||||
|
* @prop --width: Width of the radio button
|
||||||
|
* @prop --height: Height of the radio button
|
||||||
|
* @prop --inner-width: Width of the dot or checkmark
|
||||||
|
* @prop --inner-height: Height of the dot or checkmark
|
||||||
*/
|
*/
|
||||||
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -36,9 +36,13 @@ An `ion-radio-group` can be used to group a set of radios. When radios are insid
|
|||||||
## CSS Custom Properties
|
## CSS Custom Properties
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ----------------- | -------------------------- |
|
| ----------------- | ------------------------------ |
|
||||||
| `--color` | Color of the radio |
|
| `--color` | Color of the radio |
|
||||||
| `--color-checked` | Color of the checked radio |
|
| `--color-checked` | Color of the checked radio |
|
||||||
|
| `--height` | Height of the radio button |
|
||||||
|
| `--inner-height` | Height of the dot or checkmark |
|
||||||
|
| `--inner-width` | Width of the dot or checkmark |
|
||||||
|
| `--width` | Width of the radio button |
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
Reference in New Issue
Block a user