<p dir="auto">There's an attempt to wrap auth buttons below the preferred button with <code class="notranslate">flex-wrap</code> here:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/blob/bc8ce5729da0a7df4306ae5f785f68980a9bf47b/app/views/application/_auth_providers.html.erb#L2">https://github.com/openstreetmap/openstreetmap-website/blob/bc8ce5729da0a7df4306ae5f785f68980a9bf47b/app/views/application/_auth_providers.html.erb#L2</a></p>
<p dir="auto">That's not going to work after the children of this flex container got 50% width in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2320623342" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/4849" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/4849/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/4849">#4849</a>. They always fit in one row, no matter how narrow 50% of that row is.</p>
<p dir="auto">Here I'm using Bootstrap's grid system with two-column row above the small width breakpoint if there's a preferred auth button.</p>
<p dir="auto">Before/after:<br>
<a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/572c079d-491e-48f1-8c58-9e3369ec7096">image.png (view on web)</a> <a href="https://github.com/openstreetmap/openstreetmap-website/assets/4158490/24244b16-3bd1-43e8-9e3a-71e0532cb1c3">image.png (view on web)</a></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/4976'>https://github.com/openstreetmap/openstreetmap-website/pull/4976</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4976/commits/ce129a7550811d7227dbeb614e6683ac2aa0fd39" class="commit-link">ce129a7</a> Stack preferred auth button over other auth buttons on small screens</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4976/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4976/files#diff-5a9b0e7aa9d3862ba8103db51b8b44b6e392cb43f22bba850bf95e0be7b53e4f">app/views/application/_auth_providers.html.erb</a>
(29)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4976.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4976.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4976.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4976.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/4976">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLK5SCPGFZ6WIF7XU2LZLZ6PRAVCNFSM6AAAAABKW533L6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDGMJSGM4TCOA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLINKDK3G7LSKMCCRGTZLZ6PRA5CNFSM6AAAAABKW533L6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHI6PGCZY.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/4976</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/4976",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4976",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>