Matmarex has uploaded a new change for review.

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


Change subject: mediawiki.notification: Show the notifications relative to the 
screen
......................................................................

mediawiki.notification: Show the notifications relative to the screen

Instead of the document. In other words, position: fixed instead of
position: absolute. (But fall back to the latter on IE6, where 'fixed'
is not supported.)

Bug: 50870
Change-Id: Icb7cd68f48443c1770e3585c8567fea2ac16dad8
---
M resources/mediawiki/mediawiki.notification.css
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/22/72322/1

diff --git a/resources/mediawiki/mediawiki.notification.css 
b/resources/mediawiki/mediawiki.notification.css
index 9a7b651..a75fe75 100644
--- a/resources/mediawiki/mediawiki.notification.css
+++ b/resources/mediawiki/mediawiki.notification.css
@@ -3,7 +3,7 @@
  */
 
 #mw-notification-area {
-       position: absolute;
+       position: fixed;
        top: 1em;
        right: 1em;
        width: 20em;
@@ -11,6 +11,11 @@
        z-index: 10000;
 }
 
+* html #mw-notification-area {
+       /* Make it at least 'absolute' in IE6 since 'fixed' is not supported */
+       position: absolute;
+}
+
 .mw-notification {
        padding: 0.25em 1em;
        margin-bottom: 0.5em;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb7cd68f48443c1770e3585c8567fea2ac16dad8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Matmarex <matma....@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to