reveal the editorial page top-to-bottom: wrap every block and cascade the first screenful

This commit is contained in:
Martin Dvořák 2026-09-30 08:13:29 +00:00
commit 134bc9ede0
4 changed files with 74 additions and 51 deletions

View file

@ -54,6 +54,11 @@ export default function RootLayout({
className={`${news.variable} ${plex.variable} ${plexMono.variable}`}
>
<body className="antialiased">
<noscript>
{/* Scroll-reveal is progressive enhancement: without JS every block
must still be visible, since the base `.reveal` style is opacity 0. */}
<style>{`.reveal{opacity:1 !important;transform:none !important}`}</style>
</noscript>
<ThemeScript />
{children}
</body>