reveal the editorial page top-to-bottom: wrap every block and cascade the first screenful
This commit is contained in:
parent
eb2956c3f9
commit
134bc9ede0
4 changed files with 74 additions and 51 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue