Fix card shadow to cover the full page.

This commit is contained in:
Stefano Pogliani 2018-02-21 22:34:32 +00:00
parent 26f66f3cf0
commit ffbd3ccc2a
2 changed files with 8 additions and 3 deletions

View file

@ -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

View file

@ -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,