This commit is contained in:
k
2026-09-21 23:27:58 +02:00
parent 2974105e25
commit 0810ad4166
3 changed files with 104 additions and 25 deletions
+7
View File
@@ -52,6 +52,13 @@ body {
/* markdown content */
.md p:first-child { margin-top: 0; }
.md p:last-child { margin-bottom: 0; }
/* Long unbroken strings (URLs, file paths, hashes, tokens) must wrap
anywhere — otherwise they overflow the bubble, which then grows past its
row and glues itself to the screen edge. `pre` keeps its own horizontal
scroll (white-space:pre ignores wrapping). */
.md {
overflow-wrap: anywhere;
}
.md pre {
@apply relative overflow-x-auto rounded-2xl border border-stone-200 bg-stone-900 p-4 text-[13.5px] leading-relaxed text-stone-100 dark:border-zinc-700;
}