mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 01:30:15 +00:00
d7cc28fbcb
This reverts commit ca5e5c85af
and then
scopes the rules.
Bug: T241090
Bug: T242493
Change-Id: I0e6a4f6d235f34dc8f05a5e7ea5272d6465b80aa
37 lines
843 B
Plaintext
37 lines
843 B
Plaintext
@import 'mediawiki.ui/variables';
|
|
|
|
@media all and ( max-width: @width-breakpoint-tablet ) {
|
|
// On mobile screens position the anchor arrow correctly so it points to the
|
|
// notifications badge.
|
|
.mw-echo-ui-overlay .oo-ui-popupWidget-anchor {
|
|
// Override the inline style.
|
|
left: auto !important;
|
|
right: 68px;
|
|
}
|
|
}
|
|
|
|
.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 #54595d;
|
|
// 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;
|
|
}
|
|
}
|