From e064d22ea57561dcaa92f4a58bd249ad1337ceec Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Mon, 29 Jan 2024 12:58:27 +0100 Subject: [PATCH 1/3] fix: layout and link color for BandiInEvidence --- RELEASE.md | 6 ++++++ src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 2002f3d4b..5e7b94a4e 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,12 @@ - ... --> +## Versione X.X.X (dd/mm/yyyy) + +### Fix + +- Sistemato il layout del blocco elenco per i Bandi + ## Versione 11.3.2 (19/01/2023) ### Fix diff --git a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss index 8b823f1e3..3f05d0d50 100644 --- a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +++ b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss @@ -25,6 +25,7 @@ justify-content: space-between; padding: 2.5rem; padding-bottom: 0rem; + width: 100%; } } @@ -122,7 +123,7 @@ @media (max-width: #{map-get($grid-breakpoints, sm)}) { display: flex; align-items: center; - color: $analogue-1-a7; + color: $link-color; font-size: 0.77778rem; font-weight: bold; letter-spacing: 0.9px; From a60599a873992e0a7254e261540fd63cc83ce042 Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Tue, 30 Jan 2024 09:24:25 +0100 Subject: [PATCH 2/3] fix: removed unnecessary link color variable --- src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss index 3f05d0d50..48c7c7a82 100644 --- a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +++ b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss @@ -123,7 +123,6 @@ @media (max-width: #{map-get($grid-breakpoints, sm)}) { display: flex; align-items: center; - color: $link-color; font-size: 0.77778rem; font-weight: bold; letter-spacing: 0.9px; From aad1c800705e0e3d3bc1ad3abdc0a369bba42b3b Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Tue, 30 Jan 2024 10:25:01 +0100 Subject: [PATCH 3/3] fix: removed width style from card-body, added align-items style to overwrite listing-item style --- .../Blocks/_bandiInEvidenceTemplate.scss | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss index 48c7c7a82..3ad3b1dea 100644 --- a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +++ b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss @@ -19,13 +19,15 @@ grid-row: 1; } - .card-body { - display: flex; - flex-direction: column; - justify-content: space-between; - padding: 2.5rem; - padding-bottom: 0rem; - width: 100%; + .listing-item { + align-items: normal; + .card-body { + display: flex; + flex-direction: column; + justify-content: space-between; + padding: 2.5rem; + padding-bottom: 0rem; + } } }