From f11893573a30c3b3a2a05adf8c58a7984fa0ae0e Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Sat, 20 Feb 2016 16:36:44 +0000 Subject: [PATCH] Param list style tweaks Change-Id: I244b010a4b1a06e33b31d029afaabe9290440e0f --- modules/ext.templateDataGenerator.ui.css | 6 ++++-- modules/widgets/ext.templateDataGenerator.paramWidget.js | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/ext.templateDataGenerator.ui.css b/modules/ext.templateDataGenerator.ui.css index 53b81cda..b0c0d463 100644 --- a/modules/ext.templateDataGenerator.ui.css +++ b/modules/ext.templateDataGenerator.ui.css @@ -38,8 +38,6 @@ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; - /* HACK: Based on the expected width of this widget, using % produces unreliable results*/ - max-width: 33em; } .tdg-templateDataParamWidget-param-name { @@ -51,6 +49,10 @@ font-size: 0.9em; } +.tdg-templateDataParamWidget-param-description { + color: #666; +} + .tdg-templateDataParamWidget-param-alias { border-radius: 0.3em; padding: 0.125em 0.25em; diff --git a/modules/widgets/ext.templateDataGenerator.paramWidget.js b/modules/widgets/ext.templateDataGenerator.paramWidget.js index d409c05a..fdfbd96b 100644 --- a/modules/widgets/ext.templateDataGenerator.paramWidget.js +++ b/modules/widgets/ext.templateDataGenerator.paramWidget.js @@ -59,5 +59,5 @@ mw.TemplateData.ParamWidget.prototype.buildParamLabel = function () { ); } - this.setLabel( $paramName.add( $aliases ).add( $description ) ); + this.setLabel( $aliases.add( $paramName ).add( $description ) ); };