diff options
author | Stefano Pogliani <stefano@spogliani.net> | 2018-02-21 22:34:32 +0000 |
---|---|---|
committer | Stefano Pogliani <stefano@spogliani.net> | 2018-02-21 22:54:15 +0000 |
commit | ffbd3ccc2ad533a48fd31ac88b0e1404819cc4b7 (patch) | |
tree | 17063c18c4ce8952df75832d67f5a5f170fc8298 /client/components/boards | |
parent | 26f66f3cf05d3ab3dd633d02399cea5aa5a99c00 (diff) | |
download | wekan-ffbd3ccc2ad533a48fd31ac88b0e1404819cc4b7.tar.gz wekan-ffbd3ccc2ad533a48fd31ac88b0e1404819cc4b7.tar.bz2 wekan-ffbd3ccc2ad533a48fd31ac88b0e1404819cc4b7.zip |
Fix card shadow to cover the full page.
Diffstat (limited to 'client/components/boards')
-rw-r--r-- | client/components/boards/boardBody.styl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/client/components/boards/boardBody.styl b/client/components/boards/boardBody.styl index f5ecc08e..359aaf96 100644 --- a/client/components/boards/boardBody.styl +++ b/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 |