Use main-width

This commit is contained in:
Lim Chee Aun 2024-10-21 18:42:34 +08:00
parent d097697aef
commit 71e721eda0

View file

@ -23,7 +23,7 @@
pointer-events: auto;
max-width: 100%;
max-height: 100%;
width: max(var(--width), 480px);
width: max(var(--width), var(--main-width));
height: auto;
aspect-ratio: var(--aspect-ratio);
}