Mooeypoo has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/356014 )

Change subject: OptionWidget Apex: Make the icon override more specific
......................................................................

OptionWidget Apex: Make the icon override more specific

We're overriding option widget's selected state with a 'check' icon
but since we're doing that to any and all iconElements under the
option widget, it also picks up stray widgets that it should not.

The rule should only apply to the direct descendent iconElement-icon
of the widget so it doesn't override cases where the optionWidget
contains other icons or buttons.

Bug: T165444
Change-Id: Ibe4b4fc92de1a864059d9cd37168c7ef33b6d874
---
M src/themes/apex/widgets.less
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/14/356014/1

diff --git a/src/themes/apex/widgets.less b/src/themes/apex/widgets.less
index 93b598b..ccea3bb 100644
--- a/src/themes/apex/widgets.less
+++ b/src/themes/apex/widgets.less
@@ -409,7 +409,7 @@
                        background-color: transparent;
 
                        // Hack to show 'check' icon in Apex, see T87835
-                       .oo-ui-iconElement-icon {
+                       > .oo-ui-iconElement-icon {
                                .oo-ui-background-image-svg( 
'@{oo-ui-default-image-path}/icons/check' );
                                background-position: center center;
                                background-repeat: no-repeat;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe4b4fc92de1a864059d9cd37168c7ef33b6d874
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Mooeypoo <mor...@gmail.com>

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

Reply via email to