fix(layout): unlock page scroll in static export (ToolkitProvider shell clipped at 100vh)
The exported HTML wraps the site in the agent-native ToolkitProvider shell (div.flex.h-screen.overflow-hidden), so the document could not scroll and every [data-reveal] block below the fold stayed at opacity:0 - the site looked like it had no content after the hero. Override the shell height / overflow in the global stylesheet, and bump sw.js VERSION to v2.0.6 so the cache-first /assets/ rule does not keep serving the old CSS.
This commit is contained in:
1 parent
e6c4ebff48
commit
1078c50249
2 files changed
+2
-1
No files matched your search
@@ -18,7 +18,7 @@
|
||||
* | โดเมนอื่น (รูป hotlink) | ไม่จัดการ |
|
||||
* | /app/* · /node_modules/* · /@* | ไม่จัดการ (โมดูลของ dev server) |
|
||||
*/
|
||||
const VERSION = "v2.0.5";
|
||||
const VERSION = "v2.0.6";
|
||||
const PAGES_CACHE = `alterflixhub-pages-${VERSION}`;
|
||||
const ASSETS_CACHE = `alterflixhub-assets-${VERSION}`;
|
||||
|
||||
|
||||
Reference in new issue
Block a user