Explorar o código

Merge branch 'stefano-pogliani-card-shadow' into devel

Lauri Ojansivu %!s(int64=7) %!d(string=hai) anos
pai
achega
31f25bcddb

+ 6 - 2
CHANGELOG.md

@@ -1,6 +1,6 @@
 # Upcoming Wekan release
 
-[Snap updates](https://github.com/wekan/wekan/pull/1495):
+This release adds following [Snap updates](https://github.com/wekan/wekan/pull/1495):
 
 - cleanup of snap helper scripts
 - cleanup and snapctl settings handling
@@ -11,7 +11,11 @@
 - adding optional caddy service support ( by default caddy service is disabled),
   it can be enabled by calling: snap set wekan caddy-enabled=true
 
-Thanks to GitHub user kubiko for contributions.
+and fixes the following bugs:
+
+- [Fix: card-shadow no longer covered the page if you scroll down](https://github.com/wekan/wekan/pull/1496).
+
+Thanks to GitHub users kubiko and stefano-pogliani for their contributions.
 
 # v0.76 2018-02-21 Wekan release
 

+ 6 - 3
client/components/boards/boardBody.styl

@@ -1,8 +1,11 @@
 @import 'nib'
 
 position()
-  if arguments[0] == cover
-    position: absolute
+  if arguments[0] == cover || arguments[0] == fixed-cover
+    if arguments[0] == cover
+      position: absolute
+    else
+      position: fixed
     left: 0
     right: 0
     top: 0
@@ -30,7 +33,7 @@ position()
       overflow-y: hidden
 
     .board-overlay
-      position: cover
+      position: fixed-cover
       top: -100px
       right: -400px
       background: black

+ 2 - 0
client/components/main/header.styl

@@ -4,6 +4,7 @@
   color: white
   transition: background-color 0.4s
   background: #2980B9
+  z-index: 17
 
   #header-main-bar
     height: 40px
@@ -99,6 +100,7 @@
   height: 28px
   font-size: 12px
   display: flex
+  z-index: 17
 
   #header-user-bar,
   #header-new-board-icon,