From 5a4aaab0c115f2a66d5eb2b11e0c20118428ffba Mon Sep 17 00:00:00 2001 From: ouidade Date: Thu, 7 Nov 2024 23:36:27 +0100 Subject: [PATCH] infos tableau width div --- .../dist/assets/css/bundle.css | 4 ++-- .../src/assets/scss/pages/node-type-site.scss | 20 +++++-------------- 2 files changed, 7 insertions(+), 17 deletions(-) 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 5aa3932..9f06bfe 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 @@ -3062,7 +3062,6 @@ body { } } .node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_title, -.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_numero, .node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_sous_titre { font-family: "gilroy-semibold"; font-size: 1.3rem; @@ -3105,7 +3104,8 @@ body { padding-bottom: 0.5rem; } .node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div { - flex: 0 0 50%; + flex: 1 0 auto; + min-width: 50%; } .node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .infos div:has(.field_field_region) { border-bottom: none; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss index 11e121c..97b4136 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/node-type-site.scss @@ -148,24 +148,10 @@ margin-top: 1rem; } .field_title, - .field_field_numero, .field_field_sous_titre{ font-family: "gilroy-semibold"; font-size: 1.3rem; } - // .field_field_numero{ - // display: none; - - // div{ - // &::after{ - // content: "-"; - // padding-left: 0.4rem; - // padding-right: 0.4rem; - // } - - // } - // } - .field_title{ ::before{ content: url("../img/map_pointer.svg"); @@ -196,6 +182,9 @@ display: flex; flex-direction: row; flex-wrap: wrap; + // display: grid; + // grid-template-columns: 1fr 1fr; + // grid-template-rows: 1fr 1fr 1fr; padding-bottom: 0.5rem; font-family: 'gilroy-light'; @@ -217,7 +206,8 @@ } div{ - flex: 0 0 50%; + flex: 1 0 auto; + min-width: 50%; } // div .field_field_porteur_s_de_site{ // border-bottom: none;