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 ) ); };