mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/widgets/ve.ui.MWMoreParametersResultWidget.css
Thiemo Kreuz 1bbf7c3394 Fix ellipsis on long strings in parameter search widget
This ellipsis was there before we started working on this code,
but was never working properly.

We understand that the CSS was intentionally done like this (as
the comment explains). However:
* We changed the width of the dialog. The old value doesn't
  match any more.
* The width is different when the sidebar is expanded vs. when
  it is collapsed. Even if we update the number, it won't
  always work.
* The 100% work fine in current browsers. I can only assume
  this was different back in 2014 when this CSS was written
  (see Ia8259e9).

Bug: T285044
Change-Id: I3de2b0ed0b6a05d2b9fa0b325a2b12277564b271
2021-07-16 13:33:51 +02:00

29 lines
636 B
CSS

/*!
* VisualEditor MediaWiki UserInterface MWMoreParametersResultWidget styles.
*
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-mwMoreParametersResultWidget {
padding-right: 0.25em;
}
.ve-ui-mwMoreParametersResultWidget.oo-ui-optionWidget-highlighted {
background-color: #e1f3ff;
}
.ve-ui-mwMoreParametersResultWidget .oo-ui-optionWidget-icon {
top: 0.25em;
margin-top: 0;
}
.ve-ui-mwMoreParametersResultWidget-label {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
max-width: 100%;
font-weight: bold;
float: left;
}