浏览代码

Fix notification drawer always on top.

Thanks to Azorimor !

Related https://github.com/wekan/wekan/pull/4301
Lauri Ojansivu 3 年之前
父节点
当前提交
bec25720da
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      client/components/cards/cardDetails.styl
  2. 1 1
      client/components/main/header.styl

+ 2 - 2
client/components/cards/cardDetails.styl

@@ -92,7 +92,7 @@ avatar-radius = 50%
   overflow-x: hidden
   background: darken(white, 3%)
   border-radius: bottom 3px
-  z-index: 20 !important
+  z-index: 20
   animation: flexGrowIn 0.1s
   box-shadow: 0 0 7px 0 darken(white, 30%)
   transition: flex-basis 0.1s
@@ -257,7 +257,7 @@ avatar-radius = 50%
     overflow-x: scroll
     background: darken(white, 3%)
     border-radius: bottom 3px
-    z-index: 1000 !important
+    z-index: 100
     animation: flexGrowIn 0.1s
     box-shadow: 0 0 7px 0 darken(white, 30%)
     transition: flex-basis 0.1s

+ 1 - 1
client/components/main/header.styl

@@ -99,7 +99,7 @@
   height: 28px
   font-size: 12px
   display: flex
-  z-index: 21
+  z-index: 1000
   padding: 10px 0px
 
   .allBoards