From 22499b1434a823a961db73a513289e7df1a1ffab Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 14 Jul 2023 12:38:36 +0200 Subject: [PATCH] zoom max height --- web/themes/custom/eql/css-compiled/styles.css | 2 +- web/themes/custom/eql/scss/pages/_home.scss | 9 +-------- 2 files changed, 2 insertions(+), 9 deletions(-) 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; }