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