mirror of
https://github.com/blueskychan-dev/blueskychan.dev.git
synced 2025-07-08 07:41:05 +00:00
JUST USE h-100😭
This commit is contained in:
parent
ad9a581c92
commit
253efd97a1
1 changed files with 3 additions and 1 deletions
|
@ -28,11 +28,13 @@ export async function getStaticProps({ params: { slug } }) {
|
|||
|
||||
export default function PostPage({ frontmatter, content }) {
|
||||
const proseClass =
|
||||
"prose p-4 prose-invert prose-neutral mx-auto bg-gray-700/50 backdrop-blue-md backdrop-blur-md h-screen"
|
||||
"prose p-4 prose-invert prose-neutral mx-auto bg-gray-700/50 backdrop-blue-md backdrop-blur-md h-100"
|
||||
return (
|
||||
<>
|
||||
<div className={proseClass}>
|
||||
<h1 className="border-b-2 p-1">{frontmatter.title}</h1>
|
||||
<div dangerouslySetInnerHTML={{ __html: md().render(content) }} />
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue