fix header floating with scroll

This commit is contained in:
blek 2023-10-21 14:42:53 +10:00
parent 8220aa4c46
commit 8a445ad096
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ html, body {
padding-right: var(--header-padding-y); padding-right: var(--header-padding-y);
} }
.header .header-bg { .header .header-bg {
position: fixed; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
opacity: 0.75; opacity: 0.75;
@ -63,7 +63,7 @@ html, body {
height: calc(var(--header-height) + 12px); height: calc(var(--header-height) + 12px);
} }
.header .header-text { .header .header-text {
position: fixed; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
z-index: 1; z-index: 1;