Attempt to prevent header flicker on mobile

This commit is contained in:
Jake Howard 2022-10-31 14:04:13 +00:00
parent d55eebb151
commit 128e51b4d2
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -11,6 +11,8 @@ section.hero {
margin-bottom: 1.5rem;
background-color: $white;
display: block;
position: sticky;
top: 0;
@include dark-mode {
background-color: $dark-mode-background;
@ -30,8 +32,6 @@ section.hero {
&.stuck {
box-shadow: $shadow;
position: sticky;
top: 0;
}
.hero-body {