From a26f31a1503ec9b66b285cc4d39fd1148d64966e Mon Sep 17 00:00:00 2001 From: mace Date: Thu, 27 Aug 2026 14:25:38 +0200 Subject: [PATCH] bugfix: extend swipe listener to swipe on empty space --- vue/src/components/RssFeeds.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vue/src/components/RssFeeds.vue b/vue/src/components/RssFeeds.vue index db275b1..6dd6b3d 100644 --- a/vue/src/components/RssFeeds.vue +++ b/vue/src/components/RssFeeds.vue @@ -367,6 +367,13 @@ onMounted(async () => { align-items: center; padding-top: 1em; 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 {