From e707bebc075f907c4c24a088607ce800b3136054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=A7=98=E4=B9=A6?= <2622011721@qq.com> Date: Tue, 4 Aug 2026 14:24:05 +0800 Subject: [PATCH] fix: allow scrolling on public share pages Global app CSS sets html/body/#root { overflow: hidden } for the three-pane workspace layout. Public share pages (/share/:token) inherit this and cannot scroll when content exceeds the viewport. Restore document scrolling when .edgeever-public-share is present via :has(). --- apps/web/src/styles/globals.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/web/src/styles/globals.css b/apps/web/src/styles/globals.css index 19c93369..824e7277 100644 --- a/apps/web/src/styles/globals.css +++ b/apps/web/src/styles/globals.css @@ -144,6 +144,15 @@ body, overflow: hidden; } +/* Public share pages are standalone and must scroll the document. */ +html:has(.edgeever-public-share), +html:has(.edgeever-public-share) body, +html:has(.edgeever-public-share) #root { + height: auto; + min-height: 100%; + overflow: auto; +} + html.edgeever-mobile-native-editing, html.edgeever-mobile-native-editing body, html.edgeever-mobile-native-editing #root {