Fix scaling of enlarged popup image

This commit is contained in:
Wolfsblvt 2024-06-23 02:43:37 +02:00
parent 42766a715d
commit 48621f1d50

View File

@ -4494,11 +4494,9 @@ a {
}
.img_enlarged {
max-width: 100%;
max-height: 100%;
border-radius: 2px;
border: 1px solid transparent;
object-fit: contain;
/* Scaling via flex-grow and object-fit only works if we have some kind of base-height set */
min-height: 120px;
}
.cropper-container {