mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(item-sliding): changed display on ion-items-option to remove space between options
added some danger buttons to make sure the space stays removed
This commit is contained in:
@@ -148,7 +148,7 @@ ion-item-sliding-content {
|
||||
flex: 1;
|
||||
}
|
||||
ion-item-options {
|
||||
display: block;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
</p>
|
||||
<ion-item-options>
|
||||
<button primary>Archive</button>
|
||||
<button danger><icon trash></icon></button>
|
||||
</ion-item-options>
|
||||
</ion-item-sliding>
|
||||
|
||||
@@ -29,6 +30,7 @@
|
||||
</p>
|
||||
<ion-item-options>
|
||||
<button primary>Archive</button>
|
||||
<button danger>Delete</button>
|
||||
</ion-item-options>
|
||||
</ion-item-sliding>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user