commit: 3f9d9dd6bd9e15ea906d29ad04e35faa2a808367
parent 3e1b40ce29feae8ab2b13da35eece15df8a7697c
Author: Henry Jameson <me@hjkos.com>
Date: Sun, 10 Apr 2022 20:26:59 +0300
underlay improvements
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/App.scss b/src/App.scss
@@ -151,12 +151,11 @@ nav {
grid-column-end: span 3;
grid-row-start: 1;
grid-row-end: 1;
- margin: 0 calc(var(--columnGap) * -2);
- padding: 0 calc(var(--columnGap) * 2);
+ margin: 0 calc(var(--columnGap) / -2);
pointer-events: none;
background-color: rgba(0, 0, 0, 0.15);
background-color: var(--underlay, rgba(0, 0, 0, 0.15));
- z-index: -2000;
+ z-index: -1000;
}
.app-layout {
@@ -174,7 +173,6 @@ nav {
margin: 0 auto;
align-content: flex-start;
flex-wrap: wrap;
- padding: 0 calc(var(--columnGap) / 2);
justify-content: center;
min-height: 100vh;