Bsitu has submitted this change and it was merged.

Change subject: Fixing issue with RTL display of badge and pokey
......................................................................


Fixing issue with RTL display of badge and pokey

Change-Id: I49ab97ef062fd9a58da80ff0f5fbd21a72770855
---
M modules/overlay/ext.echo.overlay.css
M modules/overlay/ext.echo.overlay.js
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Bsitu: Verified; Looks good to me, approved
  jenkins-bot: Checked



diff --git a/modules/overlay/ext.echo.overlay.css 
b/modules/overlay/ext.echo.overlay.css
index adcfe34..81b893e 100644
--- a/modules/overlay/ext.echo.overlay.css
+++ b/modules/overlay/ext.echo.overlay.css
@@ -106,8 +106,8 @@
        margin-left: 3px;
 }
 
-#pt-notifications .mw-badge {
-       margin-left: 3px;
+#pt-notifications a.mw-echo-short-link .mw-badge {
+       margin-left: -5px;
 }
 
 .mw-echo-overlay-none {
diff --git a/modules/overlay/ext.echo.overlay.js 
b/modules/overlay/ext.echo.overlay.js
index 9415f74..fb9cd9e 100644
--- a/modules/overlay/ext.echo.overlay.js
+++ b/modules/overlay/ext.echo.overlay.js
@@ -17,9 +17,9 @@
                                        .badge( newCount, true, true );
                        } else {
                                $( '#pt-notifications > a' )
+                                       .addClass( 'mw-echo-short-link' )
                                        .text( '' )
                                        .badge( newCount, true, true );
-                               $( '#pt-notifications .mw-badge' ).css( 
'margin-left', '-6px' );
                        }
 
                        mw.echo.overlay.notification_count = newCount;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I49ab97ef062fd9a58da80ff0f5fbd21a72770855
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Kaldari <rkald...@wikimedia.org>
Gerrit-Reviewer: Bsitu <bs...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to