Increase zIndex of the tooltip as it's now displayed inside modal

specify zIndex by using vars from modal zIndex
This commit is contained in:
Jean-Baptiste Bellet
2021-04-16 09:22:06 +02:00
parent e0987c52ed
commit 8b3a178d97
2 changed files with 5 additions and 1 deletions

View File

@@ -56,6 +56,7 @@
margin-left: -7.4rem;
margin-top: -0.1rem;
background-color: transparent;
z-index: $modal-zIndex + 1;
.background {
position: fixed;

View File

@@ -4,6 +4,9 @@ $white: #fff;
$dynamic-blue: #3d8dd1;
$teal-500: #0096ad;
/* Defined in foundation-rails components/_reveal.scss */
$modal-zIndex: 1005;
@font-face {
font-family: 'OFN';
src: font-url('OFN-v2.eot');
@@ -22,4 +25,4 @@ $teal-500: #0096ad;
font-style: normal;
font-variant: normal;
text-transform: none;
}
}