Correct privacymsg z-index to avoid hover dropdown on scroll

pull/4270/head
Kimsible 2021-07-21 13:33:14 +02:00 committed by Chocobozzz
parent 81d5be91ad
commit 435990290a
3 changed files with 10 additions and 2 deletions

View File

@ -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 {

View File

@ -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);
}
}
}

View File

@ -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