Merge pull request 'fix: Background styling on iOS' (#38) from styling/cover into main
Reviewed-on: #38
This commit is contained in:
commit
7cf3e31b22
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue