Bmansurov has uploaded a new change for review.

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

Change subject: Correctly render the watchlist icon
......................................................................

Correctly render the watchlist icon

When OOJS is loaded on a page, it overrides the .mw-ui-icon-watchlist
inside the main menu. Make the CSS rule to be more specific to prevent
this. This change can be reverted once T131931 is fixed. The problem
can be replicated by clicking on the echo (bell) icon and then
clicking on the main menu.

Bug: T133156
Change-Id: I3b44b6dbcd39bd7e9abec64c66184ededadb8da8
---
M resources/mobile.mainMenu/icons.less
1 file changed, 2 insertions(+), 1 deletion(-)


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

diff --git a/resources/mobile.mainMenu/icons.less 
b/resources/mobile.mainMenu/icons.less
index 42164fc..cabb7a3 100644
--- a/resources/mobile.mainMenu/icons.less
+++ b/resources/mobile.mainMenu/icons.less
@@ -13,7 +13,8 @@
        .m-background-image('images/random.png');
 }
 
-.mw-ui-icon-watchlist {
+// FIXME: remove .menu when T131931 is resolved
+.menu .mw-ui-icon-watchlist {
        .m-background-image('images/watchlist.png');
 }
 

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

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

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

Reply via email to