From 4067b0583212c372810d290f63abbcb6d194e1bc Mon Sep 17 00:00:00 2001 From: Volker E Date: Thu, 28 Sep 2017 00:24:53 +0200 Subject: [PATCH] Unify monospace font family stack Bug: T176636 Change-Id: I9ad1a92cef7875371e232c8e4babc842ba711e8c --- modules/ve-mw/ui/styles/dialogs/ve.ui.MWPreDialog.css | 5 +++-- modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage.css | 5 +++-- modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/modules/ve-mw/ui/styles/dialogs/ve.ui.MWPreDialog.css b/modules/ve-mw/ui/styles/dialogs/ve.ui.MWPreDialog.css index 5420d4e4e7..4a0d96f199 100644 --- a/modules/ve-mw/ui/styles/dialogs/ve.ui.MWPreDialog.css +++ b/modules/ve-mw/ui/styles/dialogs/ve.ui.MWPreDialog.css @@ -10,8 +10,9 @@ max-width: none; /* Don't allow the widget to force the dialog to have scrollbars */ height: 100%; - /* Specify a valid second value to fix size in Chrome/FF */ - font-family: monospace, 'Courier'; + /* Support: Blink, Gecko, Webkit */ + /* Specify a valid second value to fix size, see T176636 */ + font-family: monospace, monospace; } .ve-ui-mwPreDialog .oo-ui-textInputWidget textarea { diff --git a/modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage.css b/modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage.css index ca22b21a66..d7c8ee5459 100644 --- a/modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage.css +++ b/modules/ve-mw/ui/styles/pages/ve.ui.MWParameterPage.css @@ -6,7 +6,8 @@ */ .ve-ui-mwParameterPage .ve-ui-mwParameter-wikitextFallbackInput { - /* Specify a valid second value to fix size in Chrome/FF */ - font-family: monospace, 'Courier'; + /* Support: Blink, Gecko, Webkit */ + /* Specify a valid second value to fix size, see T176636 */ + font-family: monospace, monospace; background-color: #c8ccd1; } diff --git a/modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css b/modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css index 07f7f6e323..d67449565d 100644 --- a/modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css +++ b/modules/ve-mw/ui/styles/widgets/ve.ui.MWAceEditorWidget.css @@ -8,8 +8,9 @@ .ve-ui-mwAceEditorWidget .ace_editor { border: 1px solid #c8ccd1; margin: 1px; - /* Specify a valid second value to fix size in Chrome/FF */ - font-family: monospace, 'Courier'; + /* Support: Blink, Gecko, Webkit */ + /* Specify a valid second value to fix size, see T176636 */ + font-family: monospace, monospace; font-size: inherit; line-height: 1.5; /* Allow tooptip outside of editor */