iter(g282): 代码块支持长行折行

This commit is contained in:
HIsheR
2026-10-26 23:08:29 +08:00
parent cdf68b457e
commit c98f98e3f4
7 changed files with 27 additions and 5 deletions
+6
View File
@@ -5865,3 +5865,9 @@ h5.ua-type-title { font-size: var(--ua-font-size-md); }
margin-left: auto;
color: var(--ua-color-text-faint);
}
/* 折行模式:长行按容器宽度换行,行号仍只占首行左侧——适合窄屏读日志,不适合对齐要求高的代码 */
.ua-code.is-wrap .ua-code-line {
white-space: pre-wrap;
word-break: break-word;
}