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

View file

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