fix issue with margins in notes pages

This commit is contained in:
Triston Armstrong 2024-01-06 22:12:23 -06:00
parent 32c0cd7a23
commit 7da78c973d
2 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,8 @@ export default function Home({ note, backLinks, fileNames: _, tree, flattenNodes
<Head>
{note.title && <meta name="title" content={note.title} />}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kimeiga/bahunya/dist/bahunya.min.css" />
<body style={{ margin: 0, padding: 0 }} /> </Head>
<body style={{ margin: 0, padding: 0 }} />
</Head>
<div className='flex gap-1 w-full'>
<nav className="">
<FolderTree tree={tree} flattenNodes={flattenNodes} />

View File

@ -17,14 +17,15 @@ export default function Home({ content, tree, flattenNodes, backLinks }: HomePro
<Layout>
<Head>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kimeiga/bahunya/dist/bahunya.min.css" />
<body style={{ margin: 0, padding: 0 }} />
</Head>
<div className=''>
<div className='flex gap-1 w-full'>
<nav className="">
<FolderTree tree={tree} flattenNodes={flattenNodes} />
</nav>
<MDContent content={content} backLinks={backLinks} />
</div>
</Layout>
</Layout >
);
}