mediawiki-extensions-Echo/modules/styles/mw.echo.ui.overlay.minerva.less
Moriel Schottlender 0b28b4c67a Mobile action menu should stick to bottom of screen
Just like we do in the mobile popup, the menu should be accessible
in mobile clicks/taps by being "stuck" at the bottom of the screen.

Bug: T142013
Change-Id: I730216e717c2a02ad98bbcc28f66b13c1cbe29ed
2016-08-18 13:12:22 -07:00

27 lines
572 B
Plaintext

/* In mobile, overlay is positioned at the bottom */
.mw-echo-ui-overlay {
position: fixed;
bottom: 0;
right: 0;
left: 0;
top: auto;
.mw-echo-ui-actionMenuPopupWidget-menu {
padding: 0.5em;
font-size: 1.5em;
box-shadow: none;
border: 1px solid #666;
// Override the positioning of the menu
// so it is "stuck" on the bottom of the
// notification overlay panel
position: static !important;
bottom: 0 !important;
left: 0 !important;
width: 100% !important;
max-width: none !important;
height: auto !important;
top: auto !important;
}
}