Icon pseudo elements need top: 0 for RTL languages

Document why so it doesn't get removed next time.

Bug: T232260
Change-Id: I09cac0403c913e5ff10dfede9355a08f226f395d
This commit is contained in:
jdlrobson 2019-09-09 13:42:56 -07:00 committed by Jdlrobson
parent 53ad4bac32
commit 4e5ed825c8
2 changed files with 8 additions and 0 deletions

View file

@ -167,6 +167,9 @@
"mediawiki.hlist": [
"skinStyles/mediawiki.hlist/minerva.less"
],
"+mediawiki.ui.icon": [
"skinStyles/mediawiki.ui.icon/mediawiki.ui.icon.less"
],
"mobile.languages.structured": [
"skinStyles/mobile.languages.structured/LanguageSearcher.less"
],

View file

@ -0,0 +1,5 @@
// IN RTL languages in Chrome, a failure to set top: 0 will make the icon disappear
// more context: https://phabricator.wikimedia.org/T232260#5476625
.mw-ui-icon:before {
top: 0;
}