Merge "Make parameter search widget have a horizontal limit"

This commit is contained in:
jenkins-bot 2013-07-10 01:42:44 +00:00 committed by Gerrit Code Review
commit 06faf92a12
2 changed files with 21 additions and 1 deletions

View file

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

View file

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