fix: Sticky header

- Set header as sticky
- Remove unecessary box-shadows
This commit is contained in:
kasperrt
2020-11-03 13:04:22 +01:00
parent f8b58eb64c
commit 0b04e9294f

View File

@@ -2,6 +2,8 @@
@import "./variables.scss";
.top-banner{
position: sticky;
top: 0;
display: grid;
grid-template-columns: 0.5fr 1fr 0.5fr;
grid-template-areas: "menu logo clock";
@@ -9,9 +11,6 @@
align-items: center;
justify-items: center;
background-color: $primary;
-webkit-box-shadow: 0px 0px 22px -8px rgba(0, 0, 0, 0.65);
-moz-box-shadow: 0px 0px 22px -8px rgba(0, 0, 0, 0.65);
box-shadow: 0px 0px 22px -8px rgba(0, 0, 0, 0.65);
}
.company-logo{