Skip to content

Commit

Permalink
Merge pull request #674 from Bandit/patch-1
Browse files Browse the repository at this point in the history
Fix typo: content => contents
  • Loading branch information
endigo9740 committed Dec 11, 2022
2 parents 4b7b331 + f474315 commit 3419bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/(inner)/components/app-shell/+page.svelte
Expand Up @@ -96,11 +96,11 @@
<a href="https://github.com/sveltejs/kit/issues/6244#issuecomment-1226600661" target="_blank" rel="noreferrer"
>This element is required</a
>
and the style of <code>display: content</code> should remain.
and the style of <code>display: contents</code> should remain.
</p>
<CodeBlock
language="html"
code={`<body>\n\t<div style="display: content" class="h-full overflow-hidden">%sveltekit.body%</div>\n</body>`.trim()}
code={`<body>\n\t<div style="display: contents" class="h-full overflow-hidden">%sveltekit.body%</div>\n</body>`.trim()}
/>
<p>
Then, disable overflow on your <em>html</em> and <em>body</em> tags to prevent duplicate scroll bars. Update your global stylesheet with
Expand Down

1 comment on commit 3419bf2

@vercel
Copy link

@vercel vercel bot commented on 3419bf2 Dec 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.