<p dir="auto">There is an attempt to use an <a href="https://getbootstrap.com/docs/5.1/forms/input-group/" rel="nofollow">input group</a> to combine the search input and the <em>Go</em> button. It doesn't work however. You can see the controls being rounded where they touch each other and this shouldn't happen:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4158490/190255032-bd74b484-780f-4d51-9b35-40c6411ad1a5.png"><img src="https://user-images.githubusercontent.com/4158490/190255032-bd74b484-780f-4d51-9b35-40c6411ad1a5.png" alt="search-before" style="max-width: 100%;"></a></p>
<p dir="auto">The problem is trying to combine an input group with one input being put into a container that is required to position the <em>Where this is?</em> link. You have to remove the container but then positioning the link becomes more difficult. I could come up only with positioning using javascript, which is an unnecessary complication.</p>
<p dir="auto">The simpler way is not to use an input group and specify which corners are to be rounded by hand:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/4158490/190255055-3bb9559c-bbfa-433c-9fc9-6c1858bd0bf5.png"><img src="https://user-images.githubusercontent.com/4158490/190255055-3bb9559c-bbfa-433c-9fc9-6c1858bd0bf5.png" alt="search-after" style="max-width: 100%;"></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/3690'>https://github.com/openstreetmap/openstreetmap-website/pull/3690</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3690/commits/03f266fa4836c81a94e12a3462917f638902aa6a" class="commit-link">03f266f</a> Stick search input and Go button together with flex instead of input group</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3690/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3690/files#diff-60b815932a6942ef4da576f75ee4e9b670e2aeb07950b7f8494bdbedb319c8c2">app/views/layouts/_search.html.erb</a>
(12)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3690.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3690.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3690.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3690.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/3690">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNX3K6ZUZ5PWPI2J7TV6IZMDANCNFSM6AAAAAAQMYRGAA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOV6KPTFO5MONNSOCTV6IZMDA5CNFSM6AAAAAAQMYRGACWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFDXWJTI.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/3690</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/3690",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3690",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>