[WV2] Fix outfit viewer scaling

This commit is contained in:
Emi Matchu 2025-11-03 07:21:17 +00:00
parent c4290980ed
commit e72a0ec72f

View file

@ -26,14 +26,12 @@ body.wardrobe-v2 {
background: #000; background: #000;
position: relative; position: relative;
min-height: 400px; min-height: 400px;
container-type: size;
/* The outfit viewer is a square filling the space, to at most 600px. */
outfit-viewer { outfit-viewer {
width: 600px; width: min(100cqw, 100cqh, 600px);
height: 600px; height: min(100cqw, 100cqh, 600px);
max-width: min(100%, 100cqh);
max-height: min(100%, 100cqw);
aspect-ratio: 1;
container-type: size;
} }
.no-preview-message { .no-preview-message {