Merge pull request 'Fix #167: gutter numbers realign with wrapped lines' (#179) from fix-167 into dev
CI / test (push) Successful in 39s
CI / docker (push) Successful in 49s

This commit was merged in pull request #179.
This commit is contained in:
fen
2026-09-10 16:25:15 +00:00
3 changed files with 85 additions and 1 deletions
+2
View File
@@ -291,6 +291,8 @@ html[data-wrap] .float { overflow-x: hidden; }
/* gutter/code share line metrics; the editor gutter keeps its own padding (#50) */
.code .gutter { padding-top: 0; padding-bottom: 0; }
.codebody { padding: 0 18px; white-space: pre; }
/* #167: each logical line is its own block so offsetTop identifies its first visual row */
.codeline { display: block; }
/* syntax highlight tokens (#1) */
.tok-kw { color: #c792ea; }
.tok-str { color: #a5e075; }