]> git.openstreetmap.org Git - rails.git/commitdiff
Use bootstrap breakpoint mixin
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 14 Sep 2022 15:52:54 +0000 (16:52 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 14 Sep 2022 16:32:43 +0000 (17:32 +0100)
This has the same end result, but is more clear than an arbitrary
pixel number.

app/assets/stylesheets/common.scss

index 18ac4dc77b7a339bf6c5a378e0432fb158645256..53b561b63638bc5e96e35b6bada8b718b3522e90 100644 (file)
@@ -530,7 +530,7 @@ body.small-nav {
   }
 }
 
-@media (max-width: 767.98px) {
+@include media-breakpoint-down(md) {
   body.map-layout {
     #sidebar, #map {
       position: relative;