fix(mobile): use dynamic vh and one-by-one horizontal scroll

This commit is contained in:
enes 2024-09-04 13:44:10 +02:00
parent a3effd878b
commit 36281376bc

View File

@ -22,6 +22,7 @@
> * {
scroll-margin-top: $header-height + $body-vertical-padding;
scroll-snap-align: start;
scroll-snap-stop: always; // Touch devices will always stop on each element
}
}
@ -45,7 +46,7 @@
}
> :first-child {
max-height: calc(
100svh - $header-height - $body-vertical-padding * 2 - $tabs-height
100dvh - $header-height - $body-vertical-padding * 2 - $tabs-height
);
}
}