Skip to content

Commit 9436959

Browse files
committed
chore(ui): fix grey bg on mobile
1 parent 8ea9ebd commit 9436959

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ui/src/articles/components/ArticleCard.module.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
.illustration {
8080
flex-direction: column;
8181
display: flex;
82-
background: #ebebeb;
82+
background: #efefef;
8383
height: fit-content;
8484
}
8585

@@ -91,10 +91,11 @@
9191

9292
@media (max-width: 767px) {
9393
.illustration {
94-
padding: 1em 1em 0 1em;
94+
margin: 1em 1em 0;
95+
border-radius: 1em;
96+
overflow: clip;
9597
}
9698
.illustration > img {
9799
max-width: 100%;
98-
border-radius: 1em;
99100
}
100101
}

0 commit comments

Comments
 (0)