From 435990290a61ca6fdb679e6b076ef9157b89a6ce Mon Sep 17 00:00:00 2001 From: Kimsible Date: Wed, 21 Jul 2021 13:33:14 +0200 Subject: Correct privacymsg z-index to avoid hover dropdown on scroll --- .../shared/information/privacy-concerns.component.scss | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'client/src/app/+videos') diff --git a/client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.scss b/client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.scss index b42be318f..a6479c7ec 100644 --- a/client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.scss +++ b/client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.scss @@ -25,6 +25,13 @@ } } +// Avoid higher z-index when overlay on touchscreens +:host-context(.menu-open) { + .privacy-concerns { + z-index: z(overlay) - 1; + } +} + // Or if we are in the small view @media screen and (max-width: $small-view) { .privacy-concerns { -- cgit v1.2.3