mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-25 00:05:29 +00:00
0b28b4c67a
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
27 lines
572 B
Plaintext
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;
|
|
}
|
|
}
|
|
|