mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-22 16:05:12 +00:00
upd: use calc on top, left, right for background
This commit is contained in:
parent
1d51057775
commit
44cd9c0dab
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue