From 5f70faf3d41738e81b395948d90d8b991f5837db Mon Sep 17 00:00:00 2001 From: ouidade Date: Tue, 8 Oct 2024 14:57:04 +0200 Subject: [PATCH] map responsive fond popup @ media --- .../q2d_mod/assets/css/carte-interactive-qdd.scss | 11 +++++++---- .../quartiers_de_demain/dist/assets/css/bundle.css | 13 +++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss b/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss index 27ab5c1..8d34f21 100644 --- a/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss +++ b/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss @@ -56,11 +56,14 @@ } #popup-content{ - width: 250px; - background-color: white; - border-radius: 5px; - padding: 0.5rem; + width: 300px; p{ font-size: 0.7rem; } + @media (max-width : 810px) { + width: 250px; + background-color: white; + border-radius: 5px; + padding: 0.5rem; + } } diff --git a/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css b/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css index 4f5b781..2433d04 100644 --- a/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css +++ b/web/themes/custom/quartiers_de_demain/dist/assets/css/bundle.css @@ -3117,11 +3117,16 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h } #popup-content { - width: 250px; - background-color: white; - border-radius: 5px; - padding: 0.5rem; + width: 300px; } #popup-content p { font-size: 0.7rem; +} +@media (max-width: 810px) { + #popup-content { + width: 250px; + background-color: white; + border-radius: 5px; + padding: 0.5rem; + } } \ No newline at end of file