mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 23:25:13 +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;
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue