Skip to content

Commit

Permalink
Refs #140518 - Fix cards width on small screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
GhitaB committed Nov 19, 2021
1 parent b0e6138 commit 2d5e703
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/SearchBlock/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,6 @@ div#page-document {
clear: both;

div.card-item {
max-width: 230px;

border-radius: 0px;

div.header {
Expand Down Expand Up @@ -1234,6 +1232,14 @@ div.ui.modal.facet {
}
}

@media only screen and (min-width: 770px) {
div.cards {
div.card-item {
min-width: 230px;
}
}
}

@media only screen and (max-width: 770px) {
div.body-footer {
div.col-left {
Expand Down

0 comments on commit 2d5e703

Please sign in to comment.