mirror of https://github.com/getmango/Mango.git
Fix the width and height of cover images (#23)
This commit is contained in:
parent
4968cb8e18
commit
a5daded453
|
@ -5,8 +5,17 @@
|
|||
padding: 20px;
|
||||
}
|
||||
.uk-card-media-top {
|
||||
max-height: 350px;
|
||||
overflow: hidden;
|
||||
height: 250px;
|
||||
}
|
||||
@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 {
|
||||
height: 3em;
|
||||
|
|
Loading…
Reference in New Issue