added aspect ratio for image view in task comment

This commit is contained in:
Pramod Mahajan 2025-07-08 15:24:18 +05:30
parent 3968a47d98
commit cb7df469c2

View File

@ -48,9 +48,8 @@
}
.img-preview img {
max-width: 100%;
max-height: 80vh;
object-fit: contain;
display: block;
margin: 0 auto;
width: 100%;
height: auto;
aspect-ratio: 16 / 10;
object-fit: cover;
}