Fix mobile

This commit is contained in:
Felix Klement committed 2026-10-05 10:33:58 +02:00
1 parent 7508f6e084
commit 490444032c
8 files changed
+24 -11

No files matched your search

+2 -2
View File
@@ -98,7 +98,7 @@ const ridges = Array.from({ length: rows }, (_, r) => {
.shero {
position: relative;
/* Runs up under the floating header, as the home hero does, so the bar takes the night tone. */
margin-top: calc(-1 * var(--header-height));
margin-top: calc(-1 * var(--header-offset));
overflow: hidden;
}
.shero__media { position: absolute; inset: 0; animation: shero-settle var(--dur-hero) var(--ease) both; transform-origin: 60% 50%; }
@@ -121,7 +121,7 @@ const ridges = Array.from({ length: rows }, (_, r) => {
position: relative;
display: grid;
gap: var(--space-8);
padding-top: calc(var(--header-height) + var(--space-7));
padding-top: calc(var(--header-offset) + var(--space-7));
min-height: 100svh;
align-content: end;
}