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