mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-09 03:27:32 +08:00
修复问题
https://github.com/nagisa77/OpenIsle/issues/1057 问题原因:行号的css限制宽度,导致行数超过99错位
This commit is contained in:
@@ -179,7 +179,9 @@ body {
|
|||||||
|
|
||||||
.info-content-text pre .line-numbers {
|
.info-content-text pre .line-numbers {
|
||||||
counter-reset: line-number 0;
|
counter-reset: line-number 0;
|
||||||
width: 2em;
|
white-space: nowrap; /* 禁止数字换行 */
|
||||||
|
font-variant-numeric: tabular-nums; /* 数字等宽 */
|
||||||
|
/* width: 2em; */
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user