mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Fix the width and height of cover images (#23)
This commit is contained in:
parent
4968cb8e18
commit
a5daded453
@ -5,8 +5,17 @@
|
|||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
.uk-card-media-top {
|
.uk-card-media-top {
|
||||||
max-height: 350px;
|
height: 250px;
|
||||||
overflow: hidden;
|
}
|
||||||
|
@media (min-width: 600px) {
|
||||||
|
.uk-card-media-top {
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.uk-card-media-top > img {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
.uk-card-title {
|
.uk-card-title {
|
||||||
height: 3em;
|
height: 3em;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user