Fixed image scaling inside preview container to fully fill the space
This commit is contained in:
parent
41f3628d45
commit
c254b98405
@ -43,8 +43,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.img-preview {
|
.img-preview {
|
||||||
|
width: 100%;
|
||||||
|
height: 500px;
|
||||||
|
object-fit: cover;
|
||||||
|
object-position: center;
|
||||||
|
}
|
||||||
|
.img-preview img{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 500px;
|
height: 100%
|
||||||
background-color: #E9E9E9;
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user