From 0355c9ce154b5fd82601c9feca5ea62e5d7b5e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Palmeiro?= Date: Wed, 21 Aug 2024 18:04:39 +0100 Subject: [PATCH 1/2] Standardize the margin of Leaflet map controls --- fogospt/resources/assets/sass/app.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fogospt/resources/assets/sass/app.scss b/fogospt/resources/assets/sass/app.scss index 9355e20..53d0089 100644 --- a/fogospt/resources/assets/sass/app.scss +++ b/fogospt/resources/assets/sass/app.scss @@ -1035,4 +1035,10 @@ deve ser carregado depois do CSS da leaflet */ .leaflet-top .leaflet-control { margin-top: 90px !important; } -} \ No newline at end of file +} + +/* Remove a `margin-bottom` aplicada pelo Bootstrap para garantir que os +controls do Leaflet têm margens uniformes. */ +.leaflet-control-layers label:last-child { + margin-bottom: unset; +} From 66ef01f292e1aac6b74c4483531c9097a9b74177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Palmeiro?= Date: Wed, 21 Aug 2024 19:20:56 +0100 Subject: [PATCH 2/2] Change controls to widgets --- fogospt/resources/assets/sass/app.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fogospt/resources/assets/sass/app.scss b/fogospt/resources/assets/sass/app.scss index 53d0089..2156505 100644 --- a/fogospt/resources/assets/sass/app.scss +++ b/fogospt/resources/assets/sass/app.scss @@ -1037,8 +1037,8 @@ deve ser carregado depois do CSS da leaflet */ } } -/* Remove a `margin-bottom` aplicada pelo Bootstrap para garantir que os -controls do Leaflet têm margens uniformes. */ +/* Remove a `margin-bottom` aplicada pelo Bootstrap para garantir que os widgets +têm margens uniformes. */ .leaflet-control-layers label:last-child { margin-bottom: unset; }