mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
Merge "Make parameter search widget have a horizontal limit"
This commit is contained in:
commit
06faf92a12
|
@ -287,6 +287,14 @@
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* ve.ui.MWParameterSearchWidget */
|
||||
|
||||
.ve-ui-mwParameterSearchWidget .ve-ui-selectWidget {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ve.ui.MWParameterResultWidget */
|
||||
|
||||
.ve-ui-mwParameterResultWidget {
|
||||
|
@ -302,6 +310,16 @@
|
|||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-label,
|
||||
.ve-ui-mwParameterResultWidget-names,
|
||||
.ve-ui-mwParameterResultWidget-description {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
/* HACK: Based on the expected width of this widget, using % produces unreliable results*/
|
||||
max-width: 33em;
|
||||
}
|
||||
|
||||
.ve-ui-mwParameterResultWidget-label {
|
||||
font-weight: bold;
|
||||
float: left;
|
||||
|
|
|
@ -169,8 +169,10 @@
|
|||
}
|
||||
|
||||
.ve-ui-optionWidget .ve-ui-labeledElement-label {
|
||||
white-space: nowrap;
|
||||
line-height: 1.5em;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ve-ui-optionWidget-highlighted,
|
||||
|
|
Loading…
Reference in a new issue