Revert "fix: prevent scrolling — all screens fit within viewport"
This reverts commit 59c3ae681c.
This commit is contained in:
+13
-30
@@ -26,12 +26,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Base styles */
|
/* Base styles */
|
||||||
html, body {
|
|
||||||
height: 100%;
|
|
||||||
height: 100dvh;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: "Nunito", sans-serif;
|
font-family: "Nunito", sans-serif;
|
||||||
background: var(--bg-cream);
|
background: var(--bg-cream);
|
||||||
@@ -59,9 +53,7 @@ h3 {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
height: 100vh;
|
min-height: 100vh;
|
||||||
height: 100dvh;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Welcome screen */
|
/* Welcome screen */
|
||||||
@@ -69,11 +61,9 @@ h3 {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
padding: 2rem;
|
||||||
padding: 1.5rem;
|
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
flex: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.welcome h1 {
|
.welcome h1 {
|
||||||
@@ -185,18 +175,16 @@ h3 {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 1rem 1.5rem;
|
padding: 2rem;
|
||||||
flex: 1;
|
min-height: 100vh;
|
||||||
background: var(--bg-forest);
|
background: var(--bg-forest);
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.forest__title {
|
.forest__title {
|
||||||
font-family: "Quicksand", sans-serif;
|
font-family: "Quicksand", sans-serif;
|
||||||
font-size: 1.5rem;
|
font-size: 2rem;
|
||||||
color: var(--text-dark);
|
color: var(--text-dark);
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 1.5rem;
|
||||||
flex-shrink: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.forest__level-map {
|
.forest__level-map {
|
||||||
@@ -263,15 +251,14 @@ h3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.forest__continue-btn {
|
.forest__continue-btn {
|
||||||
padding: 0.75rem 2rem;
|
padding: 1rem 3rem;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
background: var(--accent-green);
|
background: var(--accent-green);
|
||||||
color: white;
|
color: white;
|
||||||
border: none;
|
border: none;
|
||||||
font-family: "Quicksand", sans-serif;
|
font-family: "Quicksand", sans-serif;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 1.1rem;
|
font-size: 1.3rem;
|
||||||
flex-shrink: 0;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: transform 0.2s ease;
|
transition: transform 0.2s ease;
|
||||||
}
|
}
|
||||||
@@ -295,9 +282,9 @@ h3 {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 1rem;
|
gap: 2rem;
|
||||||
padding: 1rem;
|
padding: 2rem;
|
||||||
flex: 1;
|
min-height: 100vh;
|
||||||
background: var(--bg-cream);
|
background: var(--bg-cream);
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
@@ -461,9 +448,7 @@ h3 {
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 800px;
|
max-width: 800px;
|
||||||
flex: 1;
|
margin: 0 auto 1.5rem;
|
||||||
min-height: 0;
|
|
||||||
margin: 0 auto 0.75rem;
|
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
||||||
@@ -534,11 +519,9 @@ h3 {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
padding: 2rem;
|
||||||
padding: 1.5rem;
|
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
flex: 1;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user