FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(item): safe-padding on last item only · javascript2016/ionic@af36358 · GitHub

Repository navigation

Commit af36358

Browse files
committed
fix(item): safe-padding on last item only
1 parent 33960f1 commit af36358

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎src/components/item/item-sliding.scss‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,17 @@ ion-item-options[side=left] {
6969
ion-item-options .button {
7070
@include margin(0);
7171
@include padding(0, .7em);
72-
@include safe-area-padding-horizontal(null, .7em);
7372
@include border-radius(0);
7473

7574
height: 100%;
7675

7776
box-shadow: none;
7877

7978
box-sizing: content-box;
79+
80+
&:last-child {
81+
@include safe-area-padding-horizontal(null, .7em);
82+
}
8083
}
8184

8285
ion-item-options:not([icon-left]) .button:not([icon-only]), // deprecated

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL