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