Aspect ratio exists for a reason

This commit is contained in:
daudix
2024-10-28 00:16:16 +03:00
parent f4d7091c19
commit 9d4df2790a

View File

@ -7,8 +7,8 @@
mask-image: var(--mask);
inset-block-start: 0;
inset-inline-start: 0;
width: 100vw;
height: 50vw; // hack to keep the aspect ratio 2:1
aspect-ratio: 2 / 1;
width: 100%;
user-select: none;
#banner {