Skip to content
1 change: 1 addition & 0 deletions core/src/components/item-divider/test/spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<ion-item-group>
<ion-item-divider>
<ion-label>A</ion-label>
<ion-button slot="end">My Button</ion-button>
</ion-item-divider>

<ion-item>
Expand Down
25 changes: 4 additions & 21 deletions core/src/themes/ionic.mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -240,28 +240,11 @@
@if $start == 0 and $end == 0 {
#{$prop}-left: $start;
#{$prop}-right: $end;

} @else {
#{$prop}-left: $start;
#{$prop}-right: $end;

@at-root {
@supports ((margin-inline-start: 0) or (-webkit-margin-start: 0)) {
& {
@if $start != null {
#{$prop}-left: unset;
}
@if $end != null {
#{$prop}-right: unset;
}

-webkit-#{$prop}-start: $start;
#{$prop}-inline-start: $start;
-webkit-#{$prop}-end: $end;
#{$prop}-inline-end: $end;
}
}
}
-webkit-#{$prop}-start: $start;
#{$prop}-inline-start: $start;
-webkit-#{$prop}-end: $end;
#{$prop}-inline-end: $end;
}
}

Expand Down