Skip to content

Commit

Permalink
chore(ui): fix grey bg on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarlier committed May 26, 2024
1 parent 8ea9ebd commit 9436959
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/src/articles/components/ArticleCard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
.illustration {
flex-direction: column;
display: flex;
background: #ebebeb;
background: #efefef;
height: fit-content;
}

Expand All @@ -91,10 +91,11 @@

@media (max-width: 767px) {
.illustration {
padding: 1em 1em 0 1em;
margin: 1em 1em 0;
border-radius: 1em;
overflow: clip;
}
.illustration > img {
max-width: 100%;
border-radius: 1em;
}
}

0 comments on commit 9436959

Please sign in to comment.