Fixed image scaling inside preview container to fully fill the space

This commit is contained in:
Pramod Mahajan 2025-06-13 13:03:27 +05:30
parent 41f3628d45
commit c254b98405

View File

@ -43,8 +43,12 @@
}
.img-preview {
width: 100%;
height: 500px;
object-fit: cover;
object-position: center;
}
.img-preview img{
width: 100%;
height: 500px;
background-color: #E9E9E9;
text-align: center;
height: 100%
}