Catrope has uploaded a new change for review.

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

Change subject: Reduce the amount of space between the badges a bit
......................................................................

Reduce the amount of space between the badges a bit

What this really does is:
* Change the forced width of the <a> to the width of the icon
  (rather than 1.25x the width of the icon)
* Change the alignment of the :before from 40% to 50% so it
  stays in the middle (1.25*40=50)

Change-Id: I0399a20fc84e59fcbcf69da509a4d8bfa9b54a08
---
M modules/nojs/mw.echo.badge.less
M modules/nojs/mw.echo.badge.monobook.less
2 files changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/34/303334/1

diff --git a/modules/nojs/mw.echo.badge.less b/modules/nojs/mw.echo.badge.less
index 3d082d4..854f199 100644
--- a/modules/nojs/mw.echo.badge.less
+++ b/modules/nojs/mw.echo.badge.less
@@ -7,7 +7,7 @@
        #pt-notifications-notice & {
                position: relative;
                display: block;
-               width: 30px;
+               width: 24px;
                height: 24px;
                top: -5px;
                cursor: pointer;
@@ -46,7 +46,7 @@
                        display: inline-block;
                        cursor: pointer;
                        top: 10px;
-                       left: 40%;
+                       left: 50%;
                        font-size: 0.8em;
                        font-weight: bold;
                        padding: 0 0.3em;
diff --git a/modules/nojs/mw.echo.badge.monobook.less 
b/modules/nojs/mw.echo.badge.monobook.less
index f9b78a1..9c245c1 100644
--- a/modules/nojs/mw.echo.badge.monobook.less
+++ b/modules/nojs/mw.echo.badge.monobook.less
@@ -5,7 +5,7 @@
 .mw-echo-notifications-badge {
        #pt-notifications-notice &,
        #pt-notifications-alert & {
-               width: 20px;
+               width: 16px;
                height: 16px;
                top: -3px;
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0399a20fc84e59fcbcf69da509a4d8bfa9b54a08
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Catrope <roan.katt...@gmail.com>

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

Reply via email to