From a36a8b8b1be250a27fa48316bf514d43f2aac9b7 Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Thu, 23 Nov 2023 11:44:37 +0100 Subject: [PATCH] fix: changed layout of readMore component to avoid overlapping (#411) * fix: changed layout of readMore component to avoid overlapping * fix: removed unnecessary styles * chore: added RELEASE.md info --------- Co-authored-by: Piero Nicolli --- RELEASE.md | 1 + src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index f009a8acf..6540197c0 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -45,6 +45,7 @@ ### Fix +- Sistemato il layout della card nella variazione Bandi del Blocco Elenco per la modalità tablet - Sistemata accessibilità del read-more nel blocco elenco con variazione "Card con testo animato" quando si è in un sottosito con uno stile applicato. - Sistemato errore quando viene impostato "service-link" come ID lighthouse. diff --git a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss index 534bf00b5..d030eef3a 100644 --- a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +++ b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss @@ -51,9 +51,13 @@ } // tablet - @media (max-width: 1367px) and (min-width: 586px) { + @media (min-width: 586px) and (max-width: 1367px) { .bandi-in-evidence-cards-wrapper { grid-template-columns: auto auto; + + div.read-more a.read-more { + flex-direction: row; + } } }