<p></p>
<h3 dir="auto">URL</h3>
<p dir="auto"><a href="https://www.openstreetmap.org" rel="nofollow">https://www.openstreetmap.org</a></p>
<h3 dir="auto">How to reproduce the issue?</h3>
<ol dir="auto">
<li>Use monitor with 2560x1440 resolution (also tested on 1920x1080)</li>
<li>Use Firefox (version 135.0, Windows 11)</li>
<li>Open OSM homepage in full screen browser window</li>
<li>Body gets 'small-nav' class (as per <a href="https://github.com/openstreetmap/openstreetmap-website/blob/46f642d5cd88d51bd6e80e48cc24f7a6da68d4c7/app/assets/javascripts/application.js#L100">applications.js lines 99-105</a></li>
</ol>
<h3 dir="auto">Screenshot(s) or anything else?</h3>
<p dir="auto"><a href="https://github.com/user-attachments/assets/c22fc67b-e261-4fc5-a754-56a7d3f7af3a">3c92f4.jpg (view on web)</a></p>
<p dir="auto">I would expect to see the regular navbar here, as I'm using a desktop.<br>
Computing the <code class="notranslate">compactWidth</code> in the dev console comes out to 2590, while <code class="notranslate">$(window).width()</code> returns 2560.<br>
I suspect something is going wrong in calculating the width. (<a href="https://github.com/openstreetmap/openstreetmap-website/blob/46f642d5cd88d51bd6e80e48cc24f7a6da68d4c7/app/assets/javascripts/application.js#L115">applications.js lines 115-123</a>)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/5664">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKOLVNRCMKA7NJDVW32PPHE7AVCNFSM6AAAAABXAZB532VHI2DSMVQWIX3LMV43ASLTON2WKOZSHA2DSNJTGE4TSNY">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJWM2PJSNXYB4J6XKL2PPHE7A5CNFSM6AAAAABXAZB532WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHKTWDILU.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/5664</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/5664",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5664",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>