From 99bfe11f84b40dcb2c5c3f72ff610541dc0b7903 Mon Sep 17 00:00:00 2001 From: Alexis Faizeau Date: Tue, 26 Apr 2022 18:38:13 +0200 Subject: [PATCH] Fix embed website z-index --- .../EmbedScreens/EmbedScreensContainer.svelte | 1 - .../Layouts/PresentationLayout.svelte | 42 ++++++++++++------- .../HelpCameraSettingsPopup.svelte | 3 ++ front/src/Components/MainLayout.svelte | 10 ++--- front/style/cowebsite/_global.scss | 2 +- 5 files changed, 35 insertions(+), 23 deletions(-) diff --git a/front/src/Components/EmbedScreens/EmbedScreensContainer.svelte b/front/src/Components/EmbedScreens/EmbedScreensContainer.svelte index d31aac89..95f3ef7c 100644 --- a/front/src/Components/EmbedScreens/EmbedScreensContainer.svelte +++ b/front/src/Components/EmbedScreens/EmbedScreensContainer.svelte @@ -19,6 +19,5 @@ padding-top: 2%; height: 100%; position: relative; - z-index: 200; } diff --git a/front/src/Components/EmbedScreens/Layouts/PresentationLayout.svelte b/front/src/Components/EmbedScreens/Layouts/PresentationLayout.svelte index dbf7ee71..b483f6c4 100644 --- a/front/src/Components/EmbedScreens/Layouts/PresentationLayout.svelte +++ b/front/src/Components/EmbedScreens/Layouts/PresentationLayout.svelte @@ -67,10 +67,11 @@ {/key} {:else if $highlightedEmbedScreen.type === "cowebsite"} {#key $highlightedEmbedScreen.embed.getId()} -
+
+
+ import("./Video/DesktopCapturerSourcePicker.svelte")} + /> + {#if $menuVisiblilityStore} {/if} @@ -120,11 +125,6 @@ import("./EmoteMenu/EmoteMenu.svelte")} /> - import("./Video/DesktopCapturerSourcePicker.svelte")} - /> - {#if hasEmbedScreen} {/if} diff --git a/front/style/cowebsite/_global.scss b/front/style/cowebsite/_global.scss index 52ca1e75..7555d9de 100644 --- a/front/style/cowebsite/_global.scss +++ b/front/style/cowebsite/_global.scss @@ -92,7 +92,7 @@ &-buffer { iframe { - z-index: 45 !important; + z-index: 201 !important; pointer-events: none !important; overflow: hidden; border: 0;