Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/205763

Change subject: Style mw.notify in the same way as toasts
......................................................................

Style mw.notify in the same way as toasts

Dependency:  Iba35692d38a8248096153146bc296b1079352f01
Bug: T66565
Change-Id: I1645cbb81a3c76a07695d4c3d9a26a1d698f6ff4
---
M includes/Resources.php
M less/common.less
M less/toast.less
3 files changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/63/205763/1

diff --git a/includes/Resources.php b/includes/Resources.php
index 83cb262..cd08539 100644
--- a/includes/Resources.php
+++ b/includes/Resources.php
@@ -1759,6 +1759,7 @@
 );
 
 $wgResourceModuleSkinStyles['minerva'] = $wgMFResourceBoilerplate + array(
+       'mediawiki.notification' => '',
        'mediawiki.sectionAnchor' => array(
                'less/content/sectionAnchor.less',
        ),
diff --git a/less/common.less b/less/common.less
index f347a70..d214007 100644
--- a/less/common.less
+++ b/less/common.less
@@ -122,6 +122,8 @@
        display: inherit;
 }
 
+// FIXME: Shouldn't be necessary
+.mw-notification-area,
 .position-fixed {
        // use !important to override more specific rules (e.g. in Overlay.less)
        position: fixed !important;
@@ -132,6 +134,8 @@
                bottom: 0;
        }
 
+       // FIXME: Shouldn't be necessary
+       .mw-notification-area,
        .position-fixed {
                position: absolute !important;
        }
diff --git a/less/toast.less b/less/toast.less
index e5a5e6a..f0fdfa7 100644
--- a/less/toast.less
+++ b/less/toast.less
@@ -24,6 +24,7 @@
 // </div>
 //
 // Styleguide 3.1.
+.mw-notification-area,
 .toast,
 .drawer {
        bottom: 0;
@@ -76,6 +77,7 @@
        }
 }
 
+.mw-notification-area,
 .toast {
        font-size: .9em;
        padding: .9em 1em;

-- 
To view, visit https://gerrit.wikimedia.org/r/205763
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1645cbb81a3c76a07695d4c3d9a26a1d698f6ff4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to