mirror of https://github.com/Chocobozzz/PeerTube
Correct privacymsg z-index to avoid hover dropdown on scroll
parent
81d5be91ad
commit
435990290a
|
@ -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 {
|
||||
|
|
|
@ -214,7 +214,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
|
|||
content: '';
|
||||
display: block;
|
||||
position: fixed;
|
||||
z-index: z('menu') - 1;
|
||||
z-index: z(overlay);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -159,8 +159,8 @@ $variables: (
|
|||
|
||||
$zindex: (
|
||||
miniature : 10,
|
||||
privacymsg : 20,
|
||||
sub-menu : 12500,
|
||||
overlay : 12550,
|
||||
menu : 12600,
|
||||
search-typeahead: 12650,
|
||||
popover : 13000,
|
||||
|
@ -169,6 +169,7 @@ $zindex: (
|
|||
modal : 16000,
|
||||
dropdown : 17000,
|
||||
help-popover : 17000,
|
||||
privacymsg : 17500,
|
||||
header : 17500,
|
||||
notification : 18000,
|
||||
hotkeys : 19000
|
||||
|
|
Loading…
Reference in New Issue