* Make the description display:block so ellipsis works
* Fix assumption that option is a child of titleWidget,
instead make a child of titleWidget-menu.
Bug: T114565
Change-Id: I033c83b249c710b6a2a54889501174ad56d971ce
* @license The MIT License (MIT); see LICENSE.txt
*/
* @license The MIT License (MIT); see LICENSE.txt
*/
-.mw-widget-titleWidget {
+.mw-widget-titleWidget-menu {
.mw-widget-titleOptionWidget {
line-height: normal;
.mw-widget-titleOptionWidget {
line-height: normal;
.mw-widget-titleOptionWidget {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
.mw-widget-titleOptionWidget {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
- &-menu-withDescriptions {
.mw-widget-titleOptionWidget {
> .oo-ui-labelElement-label {
line-height: 1.5em;
}
&-description {
.mw-widget-titleOptionWidget {
> .oo-ui-labelElement-label {
line-height: 1.5em;
}
&-description {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
- &:not(&-menu-withDescriptions) {
+ &:not(&-withDescriptions) {
.mw-widget-titleOptionWidget-description {
display: none;
}
.mw-widget-titleOptionWidget-description {
display: none;
}