mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(position): remove host-context usage from mixin (#28972)
This commit is contained in:
@@ -400,30 +400,9 @@
|
||||
}
|
||||
} @else {
|
||||
@at-root {
|
||||
@supports (inset-inline-start: 0) {
|
||||
& {
|
||||
inset-inline-start: $start;
|
||||
inset-inline-end: $end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO FW-3766
|
||||
@at-root {
|
||||
@supports not (inset-inline-start: 0) {
|
||||
& {
|
||||
@include ltr() {
|
||||
left: $start;
|
||||
right: $end;
|
||||
}
|
||||
@include rtl() {
|
||||
left: unset;
|
||||
right: unset;
|
||||
|
||||
left: $end;
|
||||
right: $start;
|
||||
}
|
||||
}
|
||||
& {
|
||||
inset-inline-start: $start;
|
||||
inset-inline-end: $end;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user