<p dir="auto">Because we are using an edge-to-edge layout for the flash messages, the negative margins on the row were expanding the element offscreen.</p>
<p dir="auto">Bootstrap provides a "no-gutter" class for removing these margins, but that also drops the spacing between columns which we want to preserve. So instead we use a margin override on the row only.</p>
<p dir="auto">Additionally, drop some padding css in favour of a utility class</p>
<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #3351.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1034391581" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3351" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3351/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3351">#3351</a></p>
<p dir="auto">Bug was introduced in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/openstreetmap/openstreetmap-website/commit/3dd639c8d02677b773935aa982ba0c9f3cc209e5/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/commit/3dd639c8d02677b773935aa982ba0c9f3cc209e5"><tt>3dd639c</tt></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/3380'>https://github.com/openstreetmap/openstreetmap-website/pull/3380</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3380/commits/c343f3ed3eca34bd3520b00ff8e55757f59d0866" class="commit-link">c343f3e</a>  Prevent flash messages from expanding offscreen</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3380/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3380/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3380/files#diff-f0342b015bf6432993c0fd46ef2b4ed579303b635121e8630f78f83309f4ed18">app/views/layouts/_flash.html.erb</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3380.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3380.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3380.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3380.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3380">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLM2PS2DBJXWGVBWYLUNTZVZANCNFSM5IWHF52A">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAK2OLO3AH2NP67KL6RMNN3UNTZVZA5CNFSM5IWHF52KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4P2UPRQQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3380",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3380",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>