padding/margin inline is supported by ios 12.1

So we don't need the @supports CSS rule anymore
This commit is contained in:
Chocobozzz 2023-10-09 16:10:40 +02:00
parent 50e415e12e
commit 0bb768a712
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 29 deletions

View File

@ -937,23 +937,11 @@
}
@mixin margin-left ($value) {
@supports (margin-inline-start: $value) {
@include rfs($value, margin-inline-start);
}
@supports not (margin-inline-start: $value) {
@include rfs($value, margin-left);
}
@include rfs($value, margin-inline-start);
}
@mixin margin-right ($value) {
@supports (margin-inline-end: $value) {
@include rfs($value, margin-inline-end);
}
@supports not (margin-inline-end: $value) {
@include rfs($value, margin-right);
}
@include rfs($value, margin-inline-end);
}
@mixin padding-original ($block-start, $inline-end, $block-end, $inline-start) {
@ -963,7 +951,6 @@
@include padding-bottom($block-end);
}
@mixin padding ($arg1: null, $arg2: null, $arg3: null, $arg4: null) {
@if $arg2 == null and $arg3 == null and $arg4 == null {
@include padding-original($arg1, $arg1, $arg1, $arg1);
@ -977,21 +964,9 @@
}
@mixin padding-left ($value) {
@supports (padding-inline-start: $value) {
@include rfs($value, padding-inline-start);
}
@supports not (padding-inline-start: $value) {
@include rfs($value, padding-left);
}
@include rfs($value, padding-inline-start);
}
@mixin padding-right ($value) {
@supports (padding-inline-end: $value) {
@include rfs($value, padding-inline-end);
}
@supports not (padding-inline-end: $value) {
@include rfs($value, padding-right);
}
@include rfs($value, padding-inline-end);
}