Fix z-index calculation

This commit is contained in:
Vesa Luusua 2019-05-03 01:25:57 +03:00
parent ec86dfa596
commit a0fe57dfa4
4 changed files with 5 additions and 5 deletions

View file

@ -80,7 +80,7 @@ size and position, etc.
border-bottom-left-radius: var(--borderRadius);
border-bottom-right-radius: var(--borderRadius);
box-shadow: var(--boxShadowPopup);
z-index: var(--zIndexPopup + 1);
z-index: calc(var(--zIndexPopup) + 1);
}
/*

View file

@ -57,7 +57,7 @@
border-bottom-left-radius: var(--borderRadius);
border-bottom-right-radius: var(--borderRadius);
box-shadow: var(--boxShadowPopup);
z-index: var(--zIndexPopup + 1);
z-index: calc(var(--zIndexPopup) + 1);
@media (--viewportMedium) {
top: 40px;

View file

@ -58,7 +58,7 @@
border-bottom-left-radius: var(--borderRadius);
border-bottom-right-radius: var(--borderRadius);
box-shadow: var(--boxShadowPopup);
z-index: var(--zIndexPopup + 1);
z-index: calc(var(--zIndexPopup) + 1);
margin-top: 16px;
margin-bottom: 102px;

View file

@ -137,7 +137,7 @@
border-bottom-left-radius: var(--borderRadius);
border-bottom-right-radius: var(--borderRadius);
box-shadow: var(--boxShadowPopup);
z-index: var(--zIndexPopup + 1);
z-index: calc(var(--zIndexPopup) + 1);
}
.mobilePredictionsAttribution {
@ -157,7 +157,7 @@
border-bottom-left-radius: var(--borderRadius);
border-bottom-right-radius: var(--borderRadius);
box-shadow: var(--boxShadowPopup);
z-index: var(--zIndexPopup + 1);
z-index: calc(var(--zIndexPopup) + 1);
margin-top: calc(
var(--topbarHeightDesktop) - var(--TopbarSearchForm_inputHeight) +