From 2ecd1c013a5a2967519b1d8c5ae33709a2e40920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 10 May 2022 11:53:03 +0200 Subject: [PATCH 1/2] MOBILE-4060 theme: Fix ionic mixin when using add-root-selector More info: https://github.com/ionic-team/ionic-framework/pull/25264 --- src/theme/helpers/ionic.functions.string.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/theme/helpers/ionic.functions.string.scss b/src/theme/helpers/ionic.functions.string.scss index db045dc75..34a01c114 100644 --- a/src/theme/helpers/ionic.functions.string.scss +++ b/src/theme/helpers/ionic.functions.string.scss @@ -147,9 +147,10 @@ // If the selector contains :host it means it is targeting just the host // element so we can change it to look for host-context } @else if str-contains($selector, ":host") { - $list: append($list, ":host-context(#{$addHostSelector})", comma); - // 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 + $shadow-element: str-replace($selector, ":host", ":host-context(#{$addHostSelector})"); + $list: append($list, $shadow-element, comma); + // 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 { $list: append($list, "#{$addHostSelector} #{$selector}", comma); $list: append($list, ":host-context(#{$addHostSelector}) #{$selector}", comma); From e30e7b07cd62de93020ccc7141b789c546228f40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Tue, 10 May 2022 11:56:49 +0200 Subject: [PATCH 2/2] MOBILE-4060 theme: Fix iframe height on some pages --- src/addons/mod/imscp/pages/view/view.html | 4 +--- src/addons/mod/url/components/index/index.scss | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/addons/mod/imscp/pages/view/view.html b/src/addons/mod/imscp/pages/view/view.html index e37142791..3b8cee090 100644 --- a/src/addons/mod/imscp/pages/view/view.html +++ b/src/addons/mod/imscp/pages/view/view.html @@ -28,9 +28,7 @@ -
- -
+