From 2780ec6421848c605595ecb039f03976cb965f46 Mon Sep 17 00:00:00 2001 From: ouidade Date: Mon, 29 Sep 2025 16:10:20 +0200 Subject: [PATCH] padding ressources --- web/themes/custom/reha/dist/css/bundle.css | 5 +++++ web/themes/custom/reha/scss/pages/_node-ressource.scss | 4 ++-- web/themes/custom/reha/scss/pages/_ressources.scss | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/reha/dist/css/bundle.css b/web/themes/custom/reha/dist/css/bundle.css index 938b431..0508fa5 100644 --- a/web/themes/custom/reha/dist/css/bundle.css +++ b/web/themes/custom/reha/dist/css/bundle.css @@ -3058,6 +3058,7 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div height: 100%; object-fit: cover; max-width: 100%; + width: 100% !important; } .page-ressources .view-ressources .views-row .node-type-ressource .body-content { display: none; @@ -3139,6 +3140,10 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div grid-column: 2; margin-right: 2rem; } +.node-type-ressource .image-ressource img { + height: 400px; + width: auto; +} .node-type-ressource .infos-content { grid-row: 1; grid-column: 3/span 4; diff --git a/web/themes/custom/reha/scss/pages/_node-ressource.scss b/web/themes/custom/reha/scss/pages/_node-ressource.scss index 4ea539f..f59c56c 100644 --- a/web/themes/custom/reha/scss/pages/_node-ressource.scss +++ b/web/themes/custom/reha/scss/pages/_node-ressource.scss @@ -16,8 +16,8 @@ margin-right: 2rem; img{ - // height: 400px; - // width: auto; + height: 400px; + width: auto; } } .infos-content{ diff --git a/web/themes/custom/reha/scss/pages/_ressources.scss b/web/themes/custom/reha/scss/pages/_ressources.scss index ac4471f..3d5b0c0 100644 --- a/web/themes/custom/reha/scss/pages/_ressources.scss +++ b/web/themes/custom/reha/scss/pages/_ressources.scss @@ -106,6 +106,7 @@ height: 100%; object-fit: cover; max-width: 100%; + width: 100% !important; } } }