[openstreetmap/openstreetmap-website] Fix left/right sidebar resizing on mobile devices (PR #5521)
Roman Deev
notifications at github.com
Sat Feb 15 12:56:39 UTC 2025
deevroman left a comment (openstreetmap/openstreetmap-website#5521)
Okay, it seems that this PR at least does not make it worse.
The only regression I noticed was a noticeable shift of the map with the note marker when opening the left and right sidebars at the same time. But I think this is a rare use case:
https://github.com/user-attachments/assets/b758e136-bfa6-4689-ba69-bfdd96412094
It is also worth noting that sometimes you can notice a map shift by one pixel due to not accurately calculating the map position using`.height() / 2` Maybe I'm being too careful because I use a Retina display.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5521#issuecomment-2660915085
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5521/c2660915085 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250215/aa3440f9/attachment-0001.htm>
More information about the rails-dev
mailing list