From fa34e91da8f29ee7b99c8581e4f5543417a2efc3 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 25 Nov 2014 16:21:03 +0000 Subject: [PATCH] Create ve.ui.MWCommandHelpDialog.css for height hack Height differs to core due to extra commands. Change-Id: I8162ff4db86ceeac0ca92d165b185a418f9e4fc7 --- VisualEditor.php | 1 + .../ui/styles/dialogs/ve.ui.MWCommandHelpDialog.css | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 modules/ve-mw/ui/styles/dialogs/ve.ui.MWCommandHelpDialog.css diff --git a/VisualEditor.php b/VisualEditor.php index f175c8e009..a707c27d3e 100644 --- a/VisualEditor.php +++ b/VisualEditor.php @@ -808,6 +808,7 @@ $wgResourceModules += array( 'styles' => array( // ui 'modules/ve-mw/ui/styles/inspectors/ve.ui.MWExtensionInspector.css', + 'modules/ve-mw/ui/styles/dialogs/ve.ui.MWCommandHelpDialog.css', 'modules/ve-mw/ui/styles/dialogs/ve.ui.MWSaveDialog.css', 'modules/ve-mw/ui/styles/widgets/ve.ui.MWTitleInputWidget.css', 'modules/ve-mw/ui/styles/widgets/ve.ui.MWTocWidget.css', diff --git a/modules/ve-mw/ui/styles/dialogs/ve.ui.MWCommandHelpDialog.css b/modules/ve-mw/ui/styles/dialogs/ve.ui.MWCommandHelpDialog.css new file mode 100644 index 0000000000..74a62ea3bf --- /dev/null +++ b/modules/ve-mw/ui/styles/dialogs/ve.ui.MWCommandHelpDialog.css @@ -0,0 +1,12 @@ +/*! + * VisualEditor UserInterface MediaWiki CommandHelpDialog styles. + * + * @copyright 2011-2014 VisualEditor Team and others; see http://ve.mit-license.org + */ + +.ve-ui-commandHelpDialog-container { + /* + * See ve.ui.CommandHelpDialog.css + */ + height: 38em; +}