From e53029c9e626d8d166e72edd446fd8dd59e9746b Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sun, 5 May 2024 21:08:14 -0700 Subject: [PATCH] fix: stop code from stretching width --- src/lib/styles/markdown.pcss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/styles/markdown.pcss b/src/lib/styles/markdown.pcss index 0c5f805..9fb5301 100644 --- a/src/lib/styles/markdown.pcss +++ b/src/lib/styles/markdown.pcss @@ -162,6 +162,6 @@ height: 1em; } .hljs { - @apply my-4 rounded-xl shadow-lg overflow-x-auto; + @apply my-4 rounded-xl shadow-lg overflow-x-auto max-w-3xl 2xl:max-w-5xl; } }