From 8d85ddb52b14ba38d1e522eb3f26d4e25d24ccd7 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 12 Apr 2024 18:54:58 +0200 Subject: [PATCH] fix: Do not mess with all NcModal styles - scope styles to wizard Signed-off-by: Ferdinand Thiessen --- src/views/App.vue | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/App.vue b/src/views/App.vue index fcf279a1..b3ce7478 100644 --- a/src/views/App.vue +++ b/src/views/App.vue @@ -108,7 +108,7 @@ watchEffect(() => { * Global styles to override vue component styles of the modal */ -.modal-wrapper { +.first-run-wizard .modal-wrapper { .modal-container { overflow: hidden; @@ -126,13 +126,15 @@ watchEffect(() => { } @media only screen and (max-width: 512px) { - .modal-wrapper .modal-container { - height: 100dvh; - top: 0; - } + .first-run-wizard { + .modal-wrapper .modal-container { + height: 100dvh; + top: 0; + } - .modal-header { - pointer-events: none; + .modal-header { + pointer-events: none; + } } }