mediawiki-extensions-Echo/modules/styles/mw.echo.ui.ActionMenuPopupWidget.less

21 lines
502 B
Plaintext
Raw Normal View History

.mw-echo-ui-actionMenuPopupWidget-menu {
&.oo-ui-menuSelectWidget {
// Override width: 100%; rule from OOUI
width: auto;
}
// We put MenutItemWidgets in the popup menu, as we reuse the same widgets when they appear outside the popup.
// Re-style them to look more like DecoratedOptionWidgets instead of ButtonOptionWidgets
.mw-echo-ui-menuItemWidget {
display: block;
.oo-ui-buttonElement-button {
display: block;
}
&.oo-ui-labelElement:first-child {
margin-left: 0;
}
}
}