Fix editor horizontal click offset — force inline fontFamily to override Unraid SPA clear-sans
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user