From 379eebde7fb9f4465f44d19f5a5cfedd1801b00e Mon Sep 17 00:00:00 2001 From: ouidade Date: Fri, 10 Dec 2021 11:35:40 +0100 Subject: [PATCH] fix bug bouton maud --- web/themes/custom/eql/css-compiled/styles.css | 11 ++++++----- web/themes/custom/eql/scss/pages/_home.scss | 12 +++++++----- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/web/themes/custom/eql/css-compiled/styles.css b/web/themes/custom/eql/css-compiled/styles.css index 3d2da09..874027e 100644 --- a/web/themes/custom/eql/css-compiled/styles.css +++ b/web/themes/custom/eql/css-compiled/styles.css @@ -322,7 +322,8 @@ a { margin-top: 4rem; margin-bottom: 0; } .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche span { - background-color: white; } + background-color: white; + line-height: 2rem; } .path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title { grid-column: 4; grid-row: 2; @@ -363,12 +364,11 @@ a { grid-row: 1; align-self: end; margin-bottom: 2.5rem; - width: fit-content; } + max-width: 25%; + min-width: fit-content; } .path-frontpage .block-region-content .block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca .field--type-link { grid-column: 3; position: relative; - max-width: 70%; - min-width: fit-content; height: 1.5rem; padding: 0.4rem 1rem; font-size: 0.8rem; @@ -504,7 +504,8 @@ a { grid-area: actus; grid-row: 4; grid-column: 5 / span 6; - width: fit-content; + max-width: 50%; + min-width: fit-content; margin-bottom: 2rem; align-self: end; } .path-frontpage .block-region-content .block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2 .field--type-link { diff --git a/web/themes/custom/eql/scss/pages/_home.scss b/web/themes/custom/eql/scss/pages/_home.scss index 5da556f..7741c49 100644 --- a/web/themes/custom/eql/scss/pages/_home.scss +++ b/web/themes/custom/eql/scss/pages/_home.scss @@ -51,7 +51,7 @@ span { background-color: $white; - + line-height: 2rem; } } @@ -112,14 +112,15 @@ grid-row: 1; align-self: end; margin-bottom: 2.5rem; - width: fit-content; + max-width: 25%; + min-width: fit-content; .field--type-link { grid-column: 3; // justify-self: end; position: relative; - max-width: 70%; - min-width: fit-content; + // max-width: 70%; + // min-width: fit-content; height: 1.5rem; padding: 0.4rem 1rem; font-size: 0.8rem; @@ -295,7 +296,8 @@ grid-area: actus; grid-row: 4; grid-column: 5 / span 6; - width: fit-content; + max-width: 50%; + min-width: fit-content; margin-bottom: 2rem; align-self: end; .field--type-link {