Param list style tweaks

Change-Id: I244b010a4b1a06e33b31d029afaabe9290440e0f
This commit is contained in:
Ed Sanders 2016-02-20 16:36:44 +00:00 committed by Jforrester
parent 4810a7552e
commit f11893573a
2 changed files with 5 additions and 3 deletions

View file

@ -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;

View file

@ -59,5 +59,5 @@ mw.TemplateData.ParamWidget.prototype.buildParamLabel = function () {
);
}
this.setLabel( $paramName.add( $aliases ).add( $description ) );
this.setLabel( $aliases.add( $paramName ).add( $description ) );
};