Bartosz Dziewoński has uploaded a new change for review. https://gerrit.wikimedia.org/r/231514
Change subject: IconElement, IndicatorElement: Apply base styles to the right selector ...................................................................... IconElement, IndicatorElement: Apply base styles to the right selector https://phabricator.wikimedia.org/F1492790 Follow-up to 088c41f379d5f9e8894b5f68044b222b3b8a6978. Change-Id: Ib6e448accf533823c2cb2c0718114f06e07473a9 --- M src/styles/elements/IconElement.less M src/styles/elements/IndicatorElement.less 2 files changed, 12 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/14/231514/1 diff --git a/src/styles/elements/IconElement.less b/src/styles/elements/IconElement.less index ae20197..c3148a4 100644 --- a/src/styles/elements/IconElement.less +++ b/src/styles/elements/IconElement.less @@ -1,9 +1,12 @@ @import '../common'; .oo-ui-iconElement { - background-size: contain; - background-position: center center; - background-repeat: no-repeat; + .oo-ui-iconElement-icon, + &.oo-ui-iconElement-icon { + background-size: contain; + background-position: center center; + background-repeat: no-repeat; + } .theme-oo-ui-iconElement(); } diff --git a/src/styles/elements/IndicatorElement.less b/src/styles/elements/IndicatorElement.less index 3b53704..321442f 100644 --- a/src/styles/elements/IndicatorElement.less +++ b/src/styles/elements/IndicatorElement.less @@ -1,9 +1,12 @@ @import '../common'; .oo-ui-indicatorElement { - background-size: contain; - background-position: center center; - background-repeat: no-repeat; + .oo-ui-indicatorElement-indicator, + &.oo-ui-indicatorElement-indicator { + background-size: contain; + background-position: center center; + background-repeat: no-repeat; + } .theme-oo-ui-indicatorElement(); } -- To view, visit https://gerrit.wikimedia.org/r/231514 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib6e448accf533823c2cb2c0718114f06e07473a9 Gerrit-PatchSet: 1 Gerrit-Project: oojs/ui Gerrit-Branch: master Gerrit-Owner: Bartosz Dziewoński <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
