mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
@ -71,6 +71,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
:host(:not(:first-of-type)) {
|
:host(:not(:first-of-type)) {
|
||||||
|
@include rtl() {
|
||||||
|
border-right-width: 0;
|
||||||
|
border-left-width: var(--border-width);
|
||||||
|
}
|
||||||
|
|
||||||
border-left-width: 0;
|
border-left-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,10 +121,16 @@
|
|||||||
|
|
||||||
@each $element in $elements {
|
@each $element in $elements {
|
||||||
@if str-contains($element, ":host(") {
|
@if str-contains($element, ":host(") {
|
||||||
$updated-element: str-replace($element, ")", "");
|
$scoped-element: $element;
|
||||||
$updated-element: str-replace($updated-element, ":host(", ":host-context(#{$addHostSelector})");
|
|
||||||
|
|
||||||
$new-element: append($new-element, $updated-element, space);
|
@if str-contains($element, "))") {
|
||||||
|
$scoped-element: str-replace($scoped-element, "))", ")");
|
||||||
|
} @else {
|
||||||
|
$scoped-element: str-replace($scoped-element, ")", "");
|
||||||
|
}
|
||||||
|
$scoped-element: str-replace($scoped-element, ":host(", ":host-context(#{$addHostSelector})");
|
||||||
|
|
||||||
|
$new-element: append($new-element, $scoped-element, space);
|
||||||
} @else {
|
} @else {
|
||||||
$new-element: append($new-element, $element, space);
|
$new-element: append($new-element, $element, space);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user