Merge "Param list style tweaks"

This commit is contained in:
jenkins-bot 2016-02-23 01:15:47 +00:00 committed by Gerrit Code Review
commit 16b79b8e55
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 ) );
};