feat: adjust image cropping to prioritize face visibility in LoRA modal

Update CSS for version media images to bias cropping toward the upper region, ensuring faces remain visible when images are cropped. This improves user experience by maintaining important visual content within the constrained display area.
This commit is contained in:
Will Miao
2025-10-27 12:42:25 +08:00
parent 8508763831
commit 227d06c736

View File

@@ -132,6 +132,11 @@
object-fit: cover;
}
.version-media img {
/* Bias cropping toward the upper region to keep faces visible */
object-position: center 20%;
}
.version-media video {
background: #000;
}