Fix left/right logical properties

This commit is contained in:
Chocobozzz 2024-05-16 16:07:17 +02:00
parent eb51d65448
commit 59c18bb1a1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 8 additions and 6 deletions

View File

@ -885,21 +885,23 @@
*/ */
@mixin right ($value) { @mixin right ($value) {
right: $value;
@supports (inset-inline-end: $value) { @supports (inset-inline-end: $value) {
inset-inline-end: $value; inset-inline-end: $value;
right: unset; }
@supports not (inset-inline-end: $value) {
right: $value;
} }
} }
@mixin left ($value) { @mixin left ($value) {
left: $value;
@supports (inset-inline-start: $value) { @supports (inset-inline-start: $value) {
inset-inline-start: $value; inset-inline-start: $value;
left: unset; }
@supports not (inset-inline-start: $value) {
left: $value;
} }
} }