From 452d6406805ae4245007784a602f6f1de7d6f302 Mon Sep 17 00:00:00 2001 From: ouidade Date: Tue, 8 Oct 2024 14:50:59 +0200 Subject: [PATCH] map responsive fond popup --- .../q2d_mod/assets/css/carte-interactive-qdd.scss | 5 ++++- .../quartiers_de_demain/dist/assets/css/bundle.css | 10 +++++++++- .../src/assets/scss/pages/home.scss | 3 +++ 3 files changed, 16 insertions(+), 2 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 1a2f9c8..27ab5c1 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,7 +56,10 @@ } #popup-content{ - width: 300px; + width: 250px; + background-color: white; + border-radius: 5px; + padding: 0.5rem; p{ font-size: 0.7rem; } 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 dc07d53..4f5b781 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 @@ -1773,6 +1773,11 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h padding-top: 3rem; padding-left: 4rem; } +@media (max-width: 1090px) { + #home article.node-type-static .field_field_map_block #block-sitesmapblock { + padding-left: 0rem; + } +} #home article.node-type-static .field_field_map_block #block-sitesmapblock h2 { width: fit-content; margin: auto; @@ -3112,7 +3117,10 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h } #popup-content { - width: 300px; + width: 250px; + background-color: white; + border-radius: 5px; + padding: 0.5rem; } #popup-content p { font-size: 0.7rem; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/home.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/home.scss index 13bf40c..3aba398 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/home.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/home.scss @@ -164,6 +164,9 @@ background-color: #cecfcc; padding-top: 3rem; padding-left: 4rem; + @media(max-width: 1090px){ + padding-left: 0rem; + } h2{ width: fit-content;