Skip to content

Commit

Permalink
Refs #142953 - Improve landing page cards size on large screens.
Browse files Browse the repository at this point in the history
  • Loading branch information
GhitaB committed Dec 14, 2021
1 parent 632d07b commit 10bea11
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/SearchBlock/less/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -1374,6 +1374,21 @@ div.ui.modal.facet {
}

@media only screen and (min-width: 770px) {
div.searchapp {
&.landing-page {
div.landing-page-container {
div.landing-page {
div.cards {
grid-template-columns: repeat(
auto-fit,
minmax(280px, 1fr)
) !important;
}
}
}
}
}

div.cards {
div.card-item {
max-width: 400px !important;
Expand Down

0 comments on commit 10bea11

Please sign in to comment.