Merge pull request #3279 from crazyserver/MOBILE-4060

Mobile 4060
main
Noel De Martin 2022-05-17 10:34:03 +02:00 committed by GitHub
commit a8220cb894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -28,9 +28,7 @@
</ion-item> </ion-item>
</ion-card> </ion-card>
<div class="addon-mod-imscp-container"> <core-iframe *ngIf="loaded" [src]="src" [showFullscreenOnToolbar]="true" [autoFullscreenOnRotate]="true"></core-iframe>
<core-iframe *ngIf="loaded" [src]="src" [showFullscreenOnToolbar]="true" [autoFullscreenOnRotate]="true"></core-iframe>
</div>
</core-loading> </core-loading>
<core-navigation-bar collapsible-footer appearOnBottom *ngIf="loaded && navigationItems.length > 1" [items]="navigationItems" <core-navigation-bar collapsible-footer appearOnBottom *ngIf="loaded && navigationItems.length > 1" [items]="navigationItems"

View File

@ -1,3 +1,4 @@
.addon-mod_url-embedded-url { .addon-mod_url-embedded-url {
height: 100%; height: 100%;
display: contents;
} }

View File

@ -147,9 +147,10 @@
// If the selector contains :host it means it is targeting just the host // If the selector contains :host it means it is targeting just the host
// element so we can change it to look for host-context // element so we can change it to look for host-context
} @else if str-contains($selector, ":host") { } @else if str-contains($selector, ":host") {
$list: append($list, ":host-context(#{$addHostSelector})", comma); $shadow-element: str-replace($selector, ":host", ":host-context(#{$addHostSelector})");
// If the selector does not contain host at all it is either a shadow $list: append($list, $shadow-element, comma);
// or normal element so append both the dir check and host-context // If the selector does not contain host at all it is either a shadow
// or normal element so append both the dir check and host-context
} @else { } @else {
$list: append($list, "#{$addHostSelector} #{$selector}", comma); $list: append($list, "#{$addHostSelector} #{$selector}", comma);
$list: append($list, ":host-context(#{$addHostSelector}) #{$selector}", comma); $list: append($list, ":host-context(#{$addHostSelector}) #{$selector}", comma);