fix: scrolling issue with global css

This commit is contained in:
2024-08-28 04:20:11 +09:00
parent 656228d8ca
commit 1a89250f77
5 changed files with 53 additions and 47 deletions
+4 -1
View File
@@ -41,7 +41,10 @@
<style lang="scss">
:global(body) {
background-color: var(--background-primary);
overflow: hidden;
background-color: var(--background-primary);
background-size: cover;
background-blend-mode: overlay;
}
.back {
position: fixed;
+4 -5
View File
@@ -114,8 +114,8 @@
</div>
<Footer />
</main>
<Cursor />
</div>
<Cursor />
<style lang="scss">
:global(body) {
@@ -129,7 +129,8 @@
width: 100vw;
height: 100dvh;
backdrop-filter: blur(2px);
overflow: hidden;
overflow-y: auto;
overflow-x: hidden;
}
.controls {
position: fixed;
@@ -146,12 +147,10 @@
box-sizing: border-box;
width: 100%;
max-width: 1000px;
height: 100dvh;
color: white;
display: flex;
flex-direction: column;
overflow-x: hidden;
overflow-y: auto;
overflow: visible;
> div {
margin: 10px 0;
}