FIX: uses appropriate z-index for tooltips (#6674)

FIX: uses appropriate z-index for tooltips (#6674)

From 818761c3a44c8f499c9261ab368e70d77bb43d71 Mon Sep 17 00:00:00 2001
From: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Date: Mon, 26 Nov 2018 22:47:12 +0100
Subject: [PATCH] FIX: uses appropriate z-index for tooltips (#6674)


diff --git a/app/assets/stylesheets/common/base/tooltip.scss b/app/assets/stylesheets/common/base/tooltip.scss
index be10a7a..c8234b5 100644
--- a/app/assets/stylesheets/common/base/tooltip.scss
+++ b/app/assets/stylesheets/common/base/tooltip.scss
@@ -4,7 +4,7 @@ $discourse-tooltip-border: $primary-medium;
 #discourse-tooltip {
   background-color: $discourse-tooltip-background;
   position: absolute;
-  z-index: 1000;
+  z-index: z("tooltip");
   border: 1px solid $discourse-tooltip-border;
   max-width: 400px;
   margin-top: 25px;

GitHub

2 Likes