From: Andy Allan Date: Thu, 7 Sep 2023 09:26:50 +0000 (+0100) Subject: Use spacer for margins on leaflet popups X-Git-Tag: live~1005^2~5 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/d45c1435e6649c6af91d5799a5162dfaa661c72b?ds=sidebyside Use spacer for margins on leaflet popups --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 926db8c63..b8c874fb8 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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; }