Merge pull request 'fix: Background styling on iOS' (#38) from styling/cover into main

Reviewed-on: #38
This commit is contained in:
Leni Aniva 2025-01-25 16:10:12 -08:00
commit 7cf3e31b22
1 changed files with 4 additions and 5 deletions

View File

@ -108,18 +108,17 @@
<style> <style>
#background { #background {
background-attachment: fixed;
background-size: cover; background-size: cover;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center center; background-position: center center;
z-index: -10; z-index: -10;
position: fixed; position: absolute;
min-width: 100%; min-width: 100vw;
min-height: 100%; height: 100vh;
overscroll-behaviour: none; overscroll-behaviour: none;
} }
#front { #front {
height: 100vh; height: 100svh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overscroll-behavior: none; overscroll-behavior: none;