<p></p>
<blockquote>
<p dir="auto">I'm wondering why this change didn't go into small.scss, if it's mainly targeting small screens/mobile devices.</p>
</blockquote>
<p dir="auto">I'd like to get rid of small.scss entirely at some point.</p>
<p dir="auto">The way that bootstrap works (and one of the aspects of "mobile-first" design in general) is that you make everything work on small screens, and then you do extra things on larger screens where necessary. This is why all the <a href="https://getbootstrap.com/docs/5.1/utilities/spacing/" rel="nofollow">bootstrap utils</a> work on a "size-or-greater" approach. So you have e.g. <code class="notranslate">mx-3 mx-md-6</code> meaning that a horizontal margin is considered as 3 by default, and then 6 on "medium-or-larger" screens. It gets mentally confusing if you consider <code class="notranslate">mx-3 mx-md-6</code> meaning a margin of six by default, with a margin of 3 on smaller screens.</p>
<p dir="auto">So our approach should be to have everything currently in small.css considered as the default, and then a "large.scss" for any larger-screen overrides. But these are few so it probably doesn't warrant a separate file, so my plan is to combine the remains of small.scss into common.scss . And many of the screen-size dependent changes are no longer in our custom scss files anyway, and the remaining custom css is being reduced too.</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/3620#issuecomment-1195238979">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKA5Z7RFPNXI5CZGWTVV6VIRANCNFSM54SY7APA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIDCFFFCAHRWMAMDNLVV6VIRA5CNFSM54SY7APKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI466MQY.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/3620/c1195238979</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/3620#issuecomment-1195238979",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3620#issuecomment-1195238979",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>