<p dir="auto">This is temporary if <a href="https://getbootstrap.com/docs/5.3/components/navbar/" rel="nofollow">Bootstrap navbar</a> is going to be used. Before that I plan to get rid of <code class="notranslate">compact-nav</code> mode.</p>
<p dir="auto">Also restores menu hiding when history button is clicked on narrow screens. It existed since at least <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/3f26761a26f1ebd8746db166be2d30fd9b7ff7d6/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/3f26761a26f1ebd8746db166be2d30fd9b7ff7d6"><tt>3f26761</tt></a> when primary navigation had a <a href="https://github.com/openstreetmap/openstreetmap-website/blob/3f26761a26f1ebd8746db166be2d30fd9b7ff7d6/app/views/layouts/_header.html.erb#L10">list</a>. That list was later changed to a div and the selector for the click handler stopped working.</p>
<p dir="auto">And menu button is now a <code class="notranslate"><button></code> instead of <code class="notranslate"><a href="#"></code>.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4365'>https://github.com/openstreetmap/openstreetmap-website/pull/4365</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4365/commits/688e9dbb71807a104eac4970d4a28de711cd0e69" class="commit-link">688e9db</a> Hide menu in small mode when history button is clicked</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4365/commits/58bc3faba248704f07b31d6f80ffd24b385a807c" class="commit-link">58bc3fa</a> Remove css class controlling menu visibility on narrow screens</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4365/commits/cf44bb112abcddd399ad22cb2cefb1da3a97c7dc" class="commit-link">cf44bb1</a> Change menu button element to <button></li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4365/files">3 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4365/files#diff-0e145ba000e96b1a45d230275e350e4e8514efb4db7dbcfa228fe1003896c9b4">app/assets/javascripts/application.js</a>
(32)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4365/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4365/files#diff-6d2ef58207c92d1533287af551a075122ba98240a861819047a2ae77b7674f0b">app/views/layouts/_header.html.erb</a>
(4)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4365.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4365.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4365.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4365.diff</a></li>
</ul>
<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/pull/4365">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIJJPP2QEUDLOGO6ADYF54KFAVCNFSM6AAAAAA7YBDEKSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYDQNJVGY4DIMQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOEXNS6IMNU5IT3ILDYF54KFA5CNFSM6AAAAAA7YBDEKSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHPOBFFI.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/pull/4365</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/pull/4365",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4365",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>