[WV2] Fix outfit viewer scaling
This commit is contained in:
parent
c4290980ed
commit
e72a0ec72f
1 changed files with 4 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue