bugfix: extend swipe listener to swipe on empty space

This commit is contained in:
2026-08-27 14:25:38 +02:00
parent c911258578
commit a26f31a150
+7
View File
@@ -367,6 +367,13 @@ onMounted(async () => {
align-items: center; align-items: center;
padding-top: 1em; padding-top: 1em;
padding-bottom: 5rem; padding-bottom: 5rem;
/* Fill the viewport below the fixed header even when the article content
is short, so swipe-to-navigate works anywhere on screen instead of only
over the (possibly small) content area. dvh is the accurate unit on
mobile, where this matters most; vh is the fallback for browsers
without dvh support. */
min-height: calc(100vh - var(--app-nav-height, 4.5rem));
min-height: calc(100dvh - var(--app-nav-height, 4.5rem));
} }
.article-feature { .article-feature {