From ffbd3ccc2ad533a48fd31ac88b0e1404819cc4b7 Mon Sep 17 00:00:00 2001 From: Stefano Pogliani Date: Wed, 21 Feb 2018 22:34:32 +0000 Subject: Fix card shadow to cover the full page. --- client/components/boards/boardBody.styl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'client/components/boards/boardBody.styl') 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 -- cgit v1.2.3-1-g7c22