From fe9c47bf9e47b82954e8df36b2edabf86d849754 Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Mon, 20 Nov 2023 12:15:57 +0100 Subject: [PATCH] fix: changed styles for BandiInEvidenceTemplate for tablet size --- .../Blocks/_bandiInEvidenceTemplate.scss | 24 +++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss index d30e554b2..e6db64e20 100644 --- a/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +++ b/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss @@ -50,10 +50,30 @@ } // tablet - @media (max-width: 1367px) and (min-width: 586px) { - .bandi-in-evidence-cards-wrapper { + .bandi-in-evidence-cards-wrapper { + @media (max-width: 1367px) and (min-width: 767px) { grid-template-columns: auto auto; } + + @media (min-width: 768px) and (max-width: 991px) { + gap: 1rem; + } + + @media (min-width: 568px) and (max-width: 767px) { + display: block !important; + } + + .bando-dati { + display: flex; + flex: 1; + flex-direction: column; + justify-content: flex-end; + } + @media (max-width: 991px) { + .read-more a.read-more { + flex-direction: row; + } + } } .bando-description {