Skip to content

Commit

Permalink
fix(search item): Keep portrait orientation if image is on the right …
Browse files Browse the repository at this point in the history
…side
  • Loading branch information
kreafox committed Dec 16, 2022
1 parent 5cb2699 commit 12d6e72
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/less/listing-cards.less
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,24 @@ each(range(5), {

// Search item listing

.listing-item.result-item:not(.rounded) {
.listing-body {
flex: auto;
}

.left-image {
.listing-body {
flex: 1;
}
}

.right-image {
.ui.image {
width: auto;
}
}
}

.result-item .listing-body {
display: flex;
//flex: auto; breaks rounded image size, re-enable if trully needed
Expand Down

0 comments on commit 12d6e72

Please sign in to comment.