Add max-width to markdown paragraphs

Adding a max width to markdown paragraphs improves readability on large
screens, as it prevents long runs of text from taking the full width of
the browser window.
This commit is contained in:
Jeff Sandberg committed 2023-08-30 14:32:43 -06:00
1 parent 6c24689016
commit 000000098f
1 file changed
+1 -1
+1 -1
View File
@@ -87,6 +87,6 @@
}
.markdown :global(p) {
@apply leading-[1.5];
@apply leading-[1.5] max-w-3xl;
}
</style>