Fix editor horizontal click offset — force inline fontFamily to override Unraid SPA clear-sans

This commit is contained in:
Gmer4Lfe
2026-06-27 13:20:03 -04:00
parent 0aa5851549
commit c9a0ad187b
+1 -1
View File
@@ -3048,7 +3048,7 @@ function vvFontSize(delta) {
const els = ['vv-editor-body', 'vv-hl-overlay', 'vv-ln-gutter'];
els.forEach(id => {
const el = document.getElementById(id);
if (el) { el.style.fontSize = fs; el.style.lineHeight = lh; }
if (el) { el.style.fontSize = fs; el.style.lineHeight = lh; el.style.fontFamily = 'monospace'; }
});
const cl = document.getElementById('vv-cur-line');
if (cl) cl.style.height = lh;