openstreetmap-website icon indicating copy to clipboard operation
openstreetmap-website copied to clipboard

Align globe to the end of the container.

Open gravitystorm opened this issue 8 months ago • 2 comments

This removes the arbitrary pixel-based alignment of the globe, which did not take tab label translations into account. Instead, we give as much space as possible to the tabs, by aligning to the end of the container (right-hand side on LTR, left hand side on RTL).

Refs #4773

gravitystorm avatar Apr 02 '25 16:04 gravitystorm

If it was that easy...

Here's how it's going to look on small screens: image

AntonKhorev avatar Apr 03 '25 15:04 AntonKhorev

background-position: bottom right;

And crop away the empty space on the left. Then: ezgif-2d8920a03b79b6

hlfan avatar Apr 03 '25 16:04 hlfan