mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 10:26:21 +00:00
fix(blog) fix style
This commit is contained in:
3 files changed
+7
-7
No files matched your search
+1
-1
@@ -6,7 +6,7 @@ function Layout({
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<div className={ 'flex flex-auto p-7 items-stretch justify-center' }>
|
||||
<div className={ 'flex flex-auto p-7 pl-2 md:pl-7 items-stretch justify-center' }>
|
||||
{ children }
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -35,10 +35,10 @@ async function Generate(props: Props) {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Card className={ `w-full` }>
|
||||
<Card className={ `w-full max-w-full relative` }>
|
||||
<CardBody>
|
||||
<Markdown
|
||||
className={ `p-5 max-w-prose text-justify text-pretty会 prose prose-sm dark:prose-invert md:prose-md lg:prose-lg` }
|
||||
className={ `p-5 max-w-full text-justify text-pretty会 prose prose-sm dark:prose-invert md:prose-md lg:prose-lg` }
|
||||
remarkPlugins={ [ remarkGfm, remarkToc, remarkFrontmatter ] }
|
||||
rehypePlugins={ [ rehypeHighlight, rehypeRaw, rehypeSanitize ] }
|
||||
>{ (post_data as any)['content'] }</Markdown>
|
||||
|
||||
Reference in new issue
Block a user