From 0d8ac1fc82b509d488dd8f66ad1a9ef10a04e7b5 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 19 Sep 2024 14:02:35 +0100 Subject: [PATCH] Use monospace font for editing custom maps (JSON) Change-Id: Ic1c6bd0194251ab4eaefb876bdb04ce9b7bcf6e5 --- modules/ext.templateDataGenerator.editTemplatePage/Dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js b/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js index aca542ca..8903308e 100644 --- a/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js +++ b/modules/ext.templateDataGenerator.editTemplatePage/Dialog.js @@ -142,7 +142,7 @@ Dialog.prototype.initialize = function () { // Maps panel this.templateMapsInput = new OO.ui.MultilineTextInputWidget( { - classes: [ 'mw-templateData-template-maps-input' ], + classes: [ 'mw-templateData-template-maps-input mw-editfont-monospace' ], autosize: true, rows: this.getBodyHeight() / 22.5, maxRows: this.getBodyHeight() / 22.5,