From 9d4df2790a5733610727a08bc88a39a2edfaa08b Mon Sep 17 00:00:00 2001 From: daudix Date: Mon, 28 Oct 2024 00:16:16 +0300 Subject: [PATCH] Aspect ratio exists for a reason --- sass/_article.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sass/_article.scss b/sass/_article.scss index 180c069..970c971 100644 --- a/sass/_article.scss +++ b/sass/_article.scss @@ -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 {