Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default function Layout({
}, [mobileNavRef]);

const newTitle = `JSON Schema${metaTitle ? ` - ${metaTitle}` : ''}`;

return (
<div className='min-h-screen relative flex flex-col justify-between '>
<FaviconHead />
Expand All @@ -92,8 +93,11 @@ export default function Layout({
<main
className={classnames(
mainClassName,
'z-10 h-screen xl:rounded-xl pt-4 mx-auto',
// 'z-10 h-screen xl:rounded-xl pt-4 mx-auto',
'z-10 h-screen xl:rounded-xl mx-auto transition-all duration-500 ease-in-out',
{
'pt-48': showMobileNav,
'pt-4': !showMobileNav,
},
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

left a comment for similar code here

)}
>
<header
Expand Down
Loading