diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index dd2bae9..f2d3ca0 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -671,7 +671,7 @@ a { .path-frontpage .block-views-blockprojets-block-4 .view-projets .view-content .views-row .node-type-projet div:first-child { display: flex; flex-direction: column; - max-height: 400px; } + max-height: fit-content; } .path-frontpage .block-views-blockprojets-block-4 .view-projets .view-content .views-row .node-type-projet div:first-child a { color: #09398b; } .path-frontpage .block-views-blockprojets-block-4 .view-projets .view-content .views-row .node-type-projet div:first-child .field--name-field-photo { diff --git a/web/themes/custom/eql/scss/pages/_home.scss b/web/themes/custom/eql/scss/pages/_home.scss index 14bec29..4084a22 100644 --- a/web/themes/custom/eql/scss/pages/_home.scss +++ b/web/themes/custom/eql/scss/pages/_home.scss @@ -389,9 +389,6 @@ .node-type-projet{ color: $blue-dark; line-height: 1.5rem; - // padding: 0.5rem; - // padding-right: 1rem; - // padding-left: 1rem; @media (max-width: 479px){ padding-left: 0rem; padding-right: 0rem; @@ -400,11 +397,7 @@ div:first-child{ display: flex; flex-direction: column; - max-height: 400px; - // @media (max-width: 479px){ - // max-height: 0px; - // } - + max-height: fit-content; a{ color: $blue-dark; }