### URL
https://www.openstreetmap.org
### How to reproduce the issue?
1. Use monitor with 2560x1440 resolution (also tested on 1920x1080)
2. Use Firefox (version 135.0, Windows 11)
3. Open OSM homepage in full screen browser window
4. Body gets 'small-nav' class (as per [applications.js lines
99-105](https://github.com/openstreetmap/openstreetmap-website/blob/46f642d5cd88d51bd6e80e48cc24f7a6da68d4c7/app/assets/javascripts/application.js#L100)
### Screenshot(s) or anything else?

I would expect to see the regular navbar here, as I'm using a desktop.
Computing the `compactWidth` in the dev console comes out to 2590, while
`$(window).width()` returns 2560.
I suspect something is going wrong in calculating the width. ([applications.js
lines
115-123](https://github.com/openstreetmap/openstreetmap-website/blob/46f642d5cd88d51bd6e80e48cc24f7a6da68d4c7/app/assets/javascripts/application.js#L115))
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5664
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev