From 786330070ea108ae80ab95fd812e91e733d7f429 Mon Sep 17 00:00:00 2001 From: ouidade Date: Mon, 29 Sep 2025 16:03:55 +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, 4 insertions(+), 6 deletions(-) diff --git a/web/themes/custom/reha/dist/css/bundle.css b/web/themes/custom/reha/dist/css/bundle.css index 05919c7..11b735c 100644 --- a/web/themes/custom/reha/dist/css/bundle.css +++ b/web/themes/custom/reha/dist/css/bundle.css @@ -3071,6 +3071,7 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div margin-bottom: 0; border: none; margin-left: 0 !important; + width: auto; } .page-ressources .view-ressources .views-row .node-type-ressource .infos-content h1 { display: none; @@ -3139,10 +3140,6 @@ 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 f59c56c..4ea539f 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 bc79ecb..91a3f60 100644 --- a/web/themes/custom/reha/scss/pages/_ressources.scss +++ b/web/themes/custom/reha/scss/pages/_ressources.scss @@ -121,6 +121,7 @@ margin-bottom: 0; border: none; margin-left: 0 !important; + width: auto; h1{display: none;} h2{ order: 2;