<p></p>
<p dir="auto">Unfortunately it's not quite this simple!</p>
<p dir="auto">We have a sidebar that includes padding by default. Some contents of the sidebar, however, are designed to stretch right to the edges, and so they require a negative padding. This is usually where we have a list of items separated by horizontal lines, for example geocoding search results, or changeset lists (like here).</p>
<p dir="auto">If you remove the negative padding, then neither the horizontal separator line, nor the hover highlighting, meet the edge of the sidebar, and also the content gets double-padded. See this image:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/360803/217564793-40ffa796-1304-4e22-9109-3773193205a6.png"><img src="https://user-images.githubusercontent.com/360803/217564793-40ffa796-1304-4e22-9109-3773193205a6.png" alt="Screenshot from 2023-02-08 14-50-24" style="max-width: 100%;"></a></p>
<p dir="auto">What you need to do to fix this is change the error messages, so that if any of them are shown the message is wrapped in an element with the correct padding.</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/pull/3916#issuecomment-1422729175">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPMWWJJXVPIEJOL6MDWWOYD7ANCNFSM6AAAAAAUPQZLG4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJ443Q6PJQ6NAO5B5TWWOYD7A5CNFSM6AAAAAAUPQZLG6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSUZUP5O.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/3916/c1422729175</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/3916#issuecomment-1422729175",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3916#issuecomment-1422729175",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>