mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
fix: add max width properly to article
This commit is contained in:
parent
5e1af688ea
commit
3d4e05b47d
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
||||||
</figure>
|
</figure>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="markdown-body mb-8 font-serif">
|
<div class="markdown-body mb-8 font-serif max-w-3xl">
|
||||||
{@html doc.content}
|
{@html doc.content}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -162,6 +162,6 @@
|
||||||
height: 1em;
|
height: 1em;
|
||||||
}
|
}
|
||||||
.hljs {
|
.hljs {
|
||||||
@apply my-4 rounded-xl shadow-lg overflow-x-auto text-wrap;
|
@apply my-4 rounded-xl shadow-lg overflow-x-auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue