Explicitly set font size in VisualEditor + CodeMirror 6

This only effects Minerva desktop users of VE + CodeMirror.

Bug: T357482
Change-Id: I2569517ba2ce67d3d6ac486ddbfb9a3ce99d8c8c
This commit is contained in:
MusikAnimal 2024-08-20 17:19:32 -04:00
parent 3a5ee3aaf9
commit 03948a7a04
2 changed files with 10 additions and 0 deletions

View file

@ -316,6 +316,9 @@
],
"mobile.special.pagefeed.styles": [
"skinStyles/mobile.special.pagefeed.styles.less"
],
"+ext.CodeMirror.v6.visualEditor": [
"skinStyles/ext.visualEditor.codeMirror.less"
]
}
},

View file

@ -0,0 +1,7 @@
@import '../minerva.less/minerva.variables.less';
@media screen {
.cm-editor .cm-scroller {
font-size: unit( @font-size-browser, px );
}
}