Page MenuHomePhabricator

Map scale hidden on the left because of overflow
Open, LowPublic

Description

The map scale gets hidden on the left the French Wikipedia because it overflows.

Here's what it looks like:
(example URL)

Here you can clearly see the overflow:

But there's no problem on Wikivoyage:
(example URL)

All is needed is to add

.leaflet-right.leaflet-bottom {
    max-width: 100%;
}

Result:

Wikivoyage added it to its own installation, but it would be better to fix it globally than to just add it to the French Wikipedia.
Can someone make a patch for it?

Here's where the code needs to go:
https://phabricator.wikimedia.org/diffusion/EKAR/browse/HEAD/styles/control-scale.less;af8f70d386f93c7d2057ec57a341aaf33e8263f6$11

Event Timeline

Restricted Application added subscribers: TerraCodes, Aklapper. · View Herald TranscriptNov 9 2017, 8:55 AM
The_RedBurn updated the task description. (Show Details)Nov 9 2017, 10:12 AM
0x010C claimed this task.Nov 15 2017, 10:57 PM
D3r1ck01 moved this task from Backlog to Doing on the good first bug board.Jan 26 2018, 4:23 PM
Mholloway triaged this task as Low priority.Oct 2 2018, 3:07 PM
Mholloway moved this task from Unsorted to UI tasks on the Maps (Kartographer) board.