mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +00:00
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:
parent
3a5ee3aaf9
commit
03948a7a04
|
@ -316,6 +316,9 @@
|
|||
],
|
||||
"mobile.special.pagefeed.styles": [
|
||||
"skinStyles/mobile.special.pagefeed.styles.less"
|
||||
],
|
||||
"+ext.CodeMirror.v6.visualEditor": [
|
||||
"skinStyles/ext.visualEditor.codeMirror.less"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
7
skinStyles/ext.visualEditor.codeMirror.less
Normal file
7
skinStyles/ext.visualEditor.codeMirror.less
Normal file
|
@ -0,0 +1,7 @@
|
|||
@import '../minerva.less/minerva.variables.less';
|
||||
|
||||
@media screen {
|
||||
.cm-editor .cm-scroller {
|
||||
font-size: unit( @font-size-browser, px );
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue