]> git.openstreetmap.org Git - rails.git/commitdiff
Use spacer for margins on leaflet popups
authorAndy Allan <git@gravitystorm.co.uk>
Thu, 7 Sep 2023 09:26:50 +0000 (10:26 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 13 Sep 2023 09:58:36 +0000 (10:58 +0100)
app/assets/stylesheets/common.scss

index 926db8c6305a7e83ca1932e4b0982bc2471ec7ae..b8c874fb8d2194e76977a8320f6c79349291259c 100644 (file)
@@ -1002,7 +1002,7 @@ tr.turn:hover {
 /* Rules for the user map */
 
 .content_map .leaflet-popup-content {
-  margin: $lineheight/2;
+  margin: $spacer;
   min-height: 50px;
 }