Skip to content

Commit

Permalink
Refs #142953 - Display grid cards in landing page.
Browse files Browse the repository at this point in the history
  • Loading branch information
GhitaB committed Dec 13, 2021
1 parent 56acc5c commit 949ad19
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/SearchBlock/less/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,17 @@ div#page-document {
div.landing-page {
max-width: 80%;
margin: auto !important;

div.cards {
display: grid;
justify-content: space-between;
column-gap: 5px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

div.ui.card {
width: auto !important;
}
}
}
}

Expand Down Expand Up @@ -1418,8 +1429,6 @@ div.ui.modal.facet {

div.ui.cards {
div.ui.card {
width: 120px;

div.header {
font-size: 12px !important;
}
Expand Down Expand Up @@ -1460,7 +1469,7 @@ div.ui.modal.facet {

div.ui.cards {
div.ui.card {
width: 100% !important;
max-width: 60% !important;
}
}
}
Expand Down

0 comments on commit 949ad19

Please sign in to comment.