diff --git a/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.css b/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.css index 24839b0..1646baf 100644 --- a/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.css +++ b/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.css @@ -7,7 +7,7 @@ text-align: center; position: relative; width: 155%; - max-width: 800px; + max-width: 600px; margin: 0 auto; height: auto; } @@ -63,7 +63,7 @@ color: white; background: black; text-transform: uppercase; - font-size: 0.6rem; + font-size: 0.5rem; padding-left: 0.5rem; text-decoration: none; margin-top: 0.7rem; @@ -83,9 +83,10 @@ #popup-content { width: 300px; padding-right: 30px; + font-size: 0.6rem !important; } #popup-content p { - font-size: 0.7rem; + font-size: 0.6rem !important; } @media (max-width: 810px) { #popup-content { diff --git a/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php b/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php index 18ef0be..7219ec2 100644 --- a/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php +++ b/web/modules/custom/q2d_mod/src/Plugin/Block/SitesMap.php @@ -61,9 +61,9 @@ class SitesMap extends BlockBase { $x = round(($lon - $lonLeft) / ($lonRight - $lonLeft) * $vp_w); $y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h); - $r = 15; + $r = 12; $m = -$r/1.5+3; - $l = $r/1.5 +4; + $l = $r/1.5 +2.5; $sites_paths .= <<