style: 移除 markdown 和评论内容区域的强制预格式化

将 `white-space: pre-wrap;` 属性注释掉,以允许文本根据容器自然换行,避免在 markdown 渲染和评论显示区域出现不必要的水平滚动条。
This commit is contained in:
anghunk
2026-02-12 09:11:54 +08:00
parent 1bdde1e790
commit e881383337
3 changed files with 9 additions and 9 deletions

View File

@@ -160,13 +160,13 @@
text-decoration: underline;
}
.cell-content-text {
font-size: 13px;
line-height: 1.5;
white-space: pre-wrap;
word-break: break-word;
margin-bottom: 5px;
}
// .cell-content-text {
// font-size: 13px;
// line-height: 1.5;
// white-space: pre-wrap;
// word-break: break-word;
// margin-bottom: 5px;
// }
.cell-path {
font-size: 13px;

View File

@@ -3,7 +3,7 @@
line-height: 1.6;
color: var(--cwd-text, #24292f);
word-wrap: break-word;
white-space: pre-wrap;
/* white-space: pre-wrap; */
margin-top: 10px;
}

View File

@@ -434,7 +434,7 @@
line-height: 1.6;
color: var(--cwd-text, #24292f);
word-wrap: break-word;
white-space: pre-wrap;
/* white-space: pre-wrap; */
margin-top: 10px;
}