jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
Jdlrobson: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I0dec675d6de570b809b8a7e011a39e00e366c19c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: JGonera <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits