From d404eddf571a8f8fe4a8eaec117e8d38eb3db8c0 Mon Sep 17 00:00:00 2001 From: ouidade Date: Thu, 17 Oct 2024 15:23:30 +0200 Subject: [PATCH] margin img region top ressource --- web/themes/custom/eql/dist/assets/css/bundle.css | 1 + web/themes/custom/eql/scss/pages/_ressource.scss | 2 ++ 2 files changed, 3 insertions(+) diff --git a/web/themes/custom/eql/dist/assets/css/bundle.css b/web/themes/custom/eql/dist/assets/css/bundle.css index ea47c41..95b23f5 100644 --- a/web/themes/custom/eql/dist/assets/css/bundle.css +++ b/web/themes/custom/eql/dist/assets/css/bundle.css @@ -2163,6 +2163,7 @@ a { grid-row: 1/span 7; /* Prendre toutes les lignes disponibles */ align-self: start; /* S'assurer qu'il commence en haut */ justify-self: end; + margin-left: 2rem; } } @media (max-width: 1100px) { diff --git a/web/themes/custom/eql/scss/pages/_ressource.scss b/web/themes/custom/eql/scss/pages/_ressource.scss index aee1f88..7ab7f63 100644 --- a/web/themes/custom/eql/scss/pages/_ressource.scss +++ b/web/themes/custom/eql/scss/pages/_ressource.scss @@ -19,11 +19,13 @@ width: fit-content; padding-right: 2rem; padding-left: 25%; + @media screen and (min-width:1100px) { grid-column: 1; grid-row: 1 /span 7; /* Prendre toutes les lignes disponibles */ align-self: start; /* S'assurer qu'il commence en haut */ justify-self: end; + margin-left: 2rem; } @media (max-width: 1100px) { padding-left: 13%;