mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
Merge branch 'next' into ROU-4837
This commit is contained in:
@ -106,11 +106,22 @@
|
|||||||
// -------------------------------------------------------------------------------
|
// -------------------------------------------------------------------------------
|
||||||
|
|
||||||
/* Button containing only an icon */
|
/* Button containing only an icon */
|
||||||
|
::slotted(ion-icon[slot="start"]),
|
||||||
|
::slotted(ion-icon[slot="end"]),
|
||||||
|
::slotted(ion-icon[slot="icon-only"]) {
|
||||||
|
font-size: px-to-rem(16);
|
||||||
|
}
|
||||||
|
|
||||||
|
:host(.button-xsmall),
|
||||||
|
:host(.button-small),
|
||||||
|
:host(.button-large),
|
||||||
|
:host(.button-xlarge) {
|
||||||
::slotted(ion-icon[slot="start"]),
|
::slotted(ion-icon[slot="start"]),
|
||||||
::slotted(ion-icon[slot="end"]),
|
::slotted(ion-icon[slot="end"]),
|
||||||
::slotted(ion-icon[slot="icon-only"]) {
|
::slotted(ion-icon[slot="icon-only"]) {
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Button extra small */
|
/* Button extra small */
|
||||||
:host(.button-has-icon-only.button-xsmall) {
|
:host(.button-has-icon-only.button-xsmall) {
|
||||||
|
|||||||
Reference in New Issue
Block a user