Fix: unintentional scrolling

This commit is contained in:
ernstmul
2025-03-31 11:58:55 +02:00
parent e0ab5522da
commit 66c8f86c75
+4 -2
View File
@@ -174,6 +174,7 @@
<button
type="button"
class="overlay-button"
class:overlay={$isSidebarOpen}
on:click={() => {
$isSidebarOpen = false;
@@ -230,12 +231,13 @@
transition:
backdrop-filter 0.5s ease-in-out,
background-color 0.35s ease-in-out;
}
.overlay-button {
@media (min-width: 1024px) {
display: none;
}
}
main {
min-height: 100vh;
min-height: calc(100vh - 48px);
}
</style>