fix: 修复 http://localhost:3000/posts/310 内容超出的问题

This commit is contained in:
tim
2025-08-28 14:40:19 +08:00
parent b5fd5a3edc
commit 2c5b38ee9e

View File

@@ -162,6 +162,7 @@ body {
border-radius: 4px; border-radius: 4px;
line-height: 1.5; line-height: 1.5;
position: relative; position: relative;
white-space: break-spaces;
} }
.info-content-text pre .line-numbers { .info-content-text pre .line-numbers {
@@ -188,7 +189,6 @@ body {
font-family: 'Maple Mono', monospace; font-family: 'Maple Mono', monospace;
font-size: 13px; font-size: 13px;
border-radius: 4px; border-radius: 4px;
white-space: break-spaces;
background-color: var(--code-highlight-background-color); background-color: var(--code-highlight-background-color);
color: var(--text-color); color: var(--text-color);
} }