style(markdown): 小代码块不换行

This commit is contained in:
Teo 2024-10-31 15:19:41 +08:00 committed by 亢奋猫
parent 968a749aaa
commit b8c70a3061

View File

@ -95,7 +95,7 @@
} }
span { span {
word-break: break-all; white-space: pre;
} }
code { code {
@ -107,6 +107,8 @@
background: var(--color-background-mute); background: var(--color-background-mute);
padding: 3px 5px; padding: 3px 5px;
border-radius: 5px; border-radius: 5px;
word-break: keep-all;
white-space: pre;
} }
pre { pre {