JGonera has uploaded a new change for review.

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


Change subject: Make toasts centered on Android browser
......................................................................

Make toasts centered on Android browser

A small regression after notifications rewrite.

Change-Id: I0dec675d6de570b809b8a7e011a39e00e366c19c
---
M less/common/notifications.less
M stylesheets/common/notifications.css
2 files changed, 6 insertions(+), 2 deletions(-)


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

diff --git a/less/common/notifications.less b/less/common/notifications.less
index c34791b..57508bc 100644
--- a/less/common/notifications.less
+++ b/less/common/notifications.less
@@ -64,7 +64,8 @@
        padding: .9em 1em;
        background-color: @toastNotificationColor;
        color: #fff;
-       margin: 0 auto 20px;
+       margin: 0 10% 20px;
+       .box-sizing( border-box );
        width: 80%;
        text-align: center;
        border-radius: 3px;
diff --git a/stylesheets/common/notifications.css 
b/stylesheets/common/notifications.css
index 2eb3c5e..30773e6 100644
--- a/stylesheets/common/notifications.css
+++ b/stylesheets/common/notifications.css
@@ -63,7 +63,10 @@
   padding: .9em 1em;
   background-color: #373737;
   color: #fff;
-  margin: 0 auto 20px;
+  margin: 0 10% 20px;
+  -moz-box-sizing: border-box;
+  -webkit-box-sizing: border-box;
+  box-sizing: border-box;
   width: 80%;
   text-align: center;
   border-radius: 3px;

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

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

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

Reply via email to