Fix mobile
This commit is contained in:
1 parent
7508f6e084
commit
490444032c
8 files changed
+24
-11
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user