mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
icon-left attribute belongs to ion-item-options
This commit is contained in:
@ -32,18 +32,16 @@ ion-item-options .button {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
ion-item-sliding:not([horizontal]) {
|
||||
.button.button-icon-left {
|
||||
font-size: 14px;
|
||||
ion-item-options:not([icon-left]) > .button-icon-left {
|
||||
font-size: 14px;
|
||||
|
||||
.button-inner {
|
||||
flex-direction: column;
|
||||
}
|
||||
ion-icon {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
padding-bottom: 0.3em;
|
||||
}
|
||||
.button-inner {
|
||||
flex-direction: column;
|
||||
}
|
||||
ion-icon {
|
||||
padding-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
padding-bottom: 0.3em;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -50,12 +50,12 @@
|
||||
</ion-item-options>
|
||||
</ion-item-sliding>
|
||||
|
||||
<ion-item-sliding #item horizontal>
|
||||
<ion-item-sliding #item>
|
||||
<ion-item>
|
||||
<ion-icon name="mail" item-left></ion-icon>
|
||||
One Line w/ Icon, div only text
|
||||
</ion-item>
|
||||
<ion-item-options>
|
||||
<ion-item-options icon-left>
|
||||
<button primary (click)="archive(item)">
|
||||
<ion-icon name="archive"></ion-icon>Archive
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user