From 0c535e03a5bd2b97b7143ce4df52f0dbbe96cd94 Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 20 Sep 2024 22:08:12 +0200 Subject: [PATCH] css actu --- .../quartiers_de_demain/dist/assets/css/bundle.css | 6 +++++- .../src/assets/scss/pages/actualite.scss | 10 +++++++++- 2 files changed, 14 insertions(+), 2 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 6263211..d5c8adf 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 @@ -2695,7 +2695,7 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h } #page-node .content_container { - width: 60%; + width: 50%; display: flex; flex-direction: column; margin: auto; @@ -2759,6 +2759,10 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h #page-node .content_container .node-type-actualite .field_body p { font-size: 0.8rem; } +#page-node .content_container .node-type-actualite .field_field_images img { + width: 100%; + height: auto; +} .node-type-site .layout-content { margin-top: 3rem; diff --git a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualite.scss b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualite.scss index e6de7a5..fb3c2c9 100644 --- a/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualite.scss +++ b/web/themes/custom/quartiers_de_demain/src/assets/scss/pages/actualite.scss @@ -1,7 +1,7 @@ #page-node{ .content_container{ - width: 60%; + width: 50%; display: flex; flex-direction: column; margin: auto; @@ -66,6 +66,14 @@ font-size: 0.8rem; } } + + .field_field_images{ + img{ + width: 100%; + height: auto; + + } + } }