fix(core): fix gutter scroll desync with textarea content
- Match gutter font-size to textarea (13.5px) so line heights align - Always sync gutter scrollTop regardless of mode - Sync gutter scroll position after undo/redo history apply
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ const generateCSS = () => {
|
||||
border-right: 1px solid var(--md-border);
|
||||
color: var(--md-muted);
|
||||
font-family: var(--md-mono);
|
||||
font-size: 12px;
|
||||
font-size: 13.5px;
|
||||
line-height: 1.7;
|
||||
text-align: right;
|
||||
user-select: none;
|
||||
|
||||
Reference in New Issue
Block a user