Skip to content

Commit

Permalink
fix: changed styles for BandiInEvidenceTemplate for tablet size
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Nov 20, 2023
1 parent 4cd2850 commit fe9c47b
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fe9c47b

Please sign in to comment.