style: 移除 markdown 和评论内容区域的强制预格式化
将 `white-space: pre-wrap;` 属性注释掉,以允许文本根据容器自然换行,避免在 markdown 渲染和评论显示区域出现不必要的水平滚动条。
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user