fix: add max width properly to article

This commit is contained in:
Youwen Wu 2024-05-05 11:03:49 -07:00
parent 5e1af688ea
commit 3d4e05b47d
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@
</figure>
</header>
<div class="markdown-body mb-8 font-serif">
<div class="markdown-body mb-8 font-serif max-w-3xl">
{@html doc.content}
</div>
</article>

View file

@ -162,6 +162,6 @@
height: 1em;
}
.hljs {
@apply my-4 rounded-xl shadow-lg overflow-x-auto text-wrap;
@apply my-4 rounded-xl shadow-lg overflow-x-auto;
}
}