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 { .img-preview img {
max-width: 100%; width: 100%;
max-height: 80vh; height: auto;
object-fit: contain; aspect-ratio: 16 / 10;
display: block; object-fit: cover;
margin: 0 auto; }
}