mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-27 17:20:01 +00:00
Param list style tweaks
Change-Id: I244b010a4b1a06e33b31d029afaabe9290440e0f
This commit is contained in:
parent
4810a7552e
commit
f11893573a
|
@ -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;
|
||||
|
|
|
@ -59,5 +59,5 @@ mw.TemplateData.ParamWidget.prototype.buildParamLabel = function () {
|
|||
);
|
||||
}
|
||||
|
||||
this.setLabel( $paramName.add( $aliases ).add( $description ) );
|
||||
this.setLabel( $aliases.add( $paramName ).add( $description ) );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue