upd: use calc on top, left, right for background

This commit is contained in:
Mar0xy 2023-10-07 00:57:21 +02:00
parent 1d51057775
commit 44cd9c0dab
No known key found for this signature in database
GPG Key ID: 56569BBE47D2C828
1 changed files with 3 additions and 3 deletions

View File

@ -355,9 +355,9 @@ onUnmounted(() => {
pointer-events: none; pointer-events: none;
filter: blur(8px) opacity(0.6); filter: blur(8px) opacity(0.6);
// Funny CSS schenanigans to make background escape container // Funny CSS schenanigans to make background escape container
top: -100%; left: calc(0vh - 1.9vmax);
left: -100%; top: calc(1vh - 1.9vmax);
right: -100%; right:calc(0vh - 1.9vmax);
background-attachment: fixed; background-attachment: fixed;
} }