diff options
author | Kimsible <kimsible@users.noreply.github.com> | 2021-07-21 13:33:14 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-07-21 15:33:59 +0200 |
commit | 435990290a61ca6fdb679e6b076ef9157b89a6ce (patch) | |
tree | 4996e472b23009ab0f1aca541550581c2ab36e60 /client/src/app/+videos/+video-watch | |
parent | 81d5be91adf4d8274b6c2b19945ac6267b94c6b2 (diff) | |
download | PeerTube-435990290a61ca6fdb679e6b076ef9157b89a6ce.tar.gz PeerTube-435990290a61ca6fdb679e6b076ef9157b89a6ce.tar.zst PeerTube-435990290a61ca6fdb679e6b076ef9157b89a6ce.zip |
Correct privacymsg z-index to avoid hover dropdown on scroll
Diffstat (limited to 'client/src/app/+videos/+video-watch')
-rw-r--r-- | client/src/app/+videos/+video-watch/shared/information/privacy-concerns.component.scss | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
25 | } | 25 | } |
26 | } | 26 | } |
27 | 27 | ||
28 | // Avoid higher z-index when overlay on touchscreens | ||
29 | :host-context(.menu-open) { | ||
30 | .privacy-concerns { | ||
31 | z-index: z(overlay) - 1; | ||
32 | } | ||
33 | } | ||
34 | |||
28 | // Or if we are in the small view | 35 | // Or if we are in the small view |
29 | @media screen and (max-width: $small-view) { | 36 | @media screen and (max-width: $small-view) { |
30 | .privacy-concerns { | 37 | .privacy-concerns { |