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>
|
<Head>
|
||||||
{note.title && <meta name="title" content={note.title} />}
|
{note.title && <meta name="title" content={note.title} />}
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kimeiga/bahunya/dist/bahunya.min.css" />
|
<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'>
|
<div className='flex gap-1 w-full'>
|
||||||
<nav className="">
|
<nav className="">
|
||||||
<FolderTree tree={tree} flattenNodes={flattenNodes} />
|
<FolderTree tree={tree} flattenNodes={flattenNodes} />
|
||||||
|
@ -17,14 +17,15 @@ export default function Home({ content, tree, flattenNodes, backLinks }: HomePro
|
|||||||
<Layout>
|
<Layout>
|
||||||
<Head>
|
<Head>
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kimeiga/bahunya/dist/bahunya.min.css" />
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/kimeiga/bahunya/dist/bahunya.min.css" />
|
||||||
|
<body style={{ margin: 0, padding: 0 }} />
|
||||||
</Head>
|
</Head>
|
||||||
<div className=''>
|
<div className='flex gap-1 w-full'>
|
||||||
<nav className="">
|
<nav className="">
|
||||||
<FolderTree tree={tree} flattenNodes={flattenNodes} />
|
<FolderTree tree={tree} flattenNodes={flattenNodes} />
|
||||||
</nav>
|
</nav>
|
||||||
<MDContent content={content} backLinks={backLinks} />
|
<MDContent content={content} backLinks={backLinks} />
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout >
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user