1
0

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
+3 -3
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;
}