Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
upd: use calc on top, left, right for background
Browse files Browse the repository at this point in the history
  • Loading branch information
Mar0xy committed Oct 6, 2023
1 parent 1d51057 commit 44cd9c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/src/pages/user/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 44cd9c0

Please sign in to comment.