fix issue with margins in notes pages
This commit is contained in:
parent
32c0cd7a23
commit
7da78c973d
@ -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} />
|
||||
|
@ -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 >
|
||||
);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user