padding ressources

This commit is contained in:
2025-09-29 15:59:29 +02:00
parent 3b21a54b2c
commit af12b627e6
2 changed files with 7 additions and 8 deletions
+3 -4
View File
@@ -3021,8 +3021,7 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
padding-bottom: 0 !important; padding-bottom: 0 !important;
} }
.page-ressources .view-ressources .views-row { .page-ressources .view-ressources .views-row {
width: 28%; width: 30%;
padding: 1rem;
display: flex !important; display: flex !important;
flex-direction: column; flex-direction: column;
background-color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);
@@ -3044,7 +3043,7 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
width: auto; width: auto;
margin: auto; margin: auto;
margin-left: auto; margin-left: auto;
height: 15rem; height: 12rem;
margin-left: 0; margin-left: 0;
} }
.page-ressources .view-ressources .views-row .node-type-ressource .image-ressource .field--name-field-image { .page-ressources .view-ressources .views-row .node-type-ressource .image-ressource .field--name-field-image {
@@ -3058,7 +3057,7 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
} }
.page-ressources .view-ressources .views-row .node-type-ressource .image-ressource .field--name-field-image .field__items .field__item img { .page-ressources .view-ressources .views-row .node-type-ressource .image-ressource .field--name-field-image .field__items .field__item img {
height: 100%; height: 100%;
object-fit: contain; object-fit: cover;
max-width: 100%; max-width: 100%;
} }
.page-ressources .view-ressources .views-row .node-type-ressource .body-content { .page-ressources .view-ressources .views-row .node-type-ressource .body-content {
@@ -73,8 +73,8 @@
padding-bottom: 0 !important; padding-bottom: 0 !important;
} }
.views-row{ .views-row{
width: 28%; width: 30%;
padding: 1rem; // padding: 1rem;
display: flex !important; display: flex !important;
flex-direction: column; flex-direction: column;
background-color: $white-button; background-color: $white-button;
@@ -94,7 +94,7 @@
width: auto; width: auto;
margin: auto; margin: auto;
margin-left: auto; margin-left: auto;
height: 15rem; height: 12rem;
margin-left: 0; margin-left: 0;
.field--name-field-image{ .field--name-field-image{
height: 100%; height: 100%;
@@ -104,7 +104,7 @@
height: 100%; height: 100%;
img{ img{
height: 100%; height: 100%;
object-fit: contain; object-fit: cover;
max-width: 100%; max-width: 100%;
} }
} }