correction de l'affichage des vignettes
This commit is contained in:
parent
66d0a56fdd
commit
c8979f93d9
@ -71,11 +71,15 @@ footer a:hover {
|
|||||||
.card-img-container {
|
.card-img-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 150px;
|
height: 0;
|
||||||
|
padding-bottom: 100%;
|
||||||
background-color: var(--mh-dark);
|
background-color: var(--mh-dark);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-img-top {
|
.card-img-top {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user