Page MenuHomePhabricator

MobileFrontend beta back to top button has broken display on RTL wikis
Closed, ResolvedPublic

Description

Some time ago MobileFrontend [beta] acquired a nice blue button that goes to the
top of the screen.

In RTL wikis the upward-pointing arrow in this button is misaligned.

Screenshot_2015-12-05-12-50-32.png (1×1 px, 324 KB)

Screenshot_2015-12-05-12-51-20.png (1×1 px, 758 KB)

Some hints:
It should be enough to add a change to the LESS file of the back to top feature, which distinguish the left/right 50% value using the rtl and ltr class, which is added to the html tag :)

Event Timeline

Amire80 updated the task description. (Show Details)
Amire80 subscribed.
Jdlrobson renamed this task from MobileFrontend home button has broken display on RTL wikis to MobileFrontend beta back to top button has broken display on RTL wikis.Dec 7 2015, 5:43 AM
Jdlrobson updated the task description. (Show Details)

Adding it to GCI :) Thanks for pointing this out @Amire80, haven't thought about that when implementing this :)

Change 259426 had a related patch set uploaded (by Neonowy):
Fix misaligned back to top button on RTL wikis

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

Change 259426 merged by jenkins-bot:
Fix misaligned back to top button on RTL wikis

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