mobile pad
Browse files
src/lib/components/Pages/Battle.svelte
CHANGED
@@ -163,6 +163,24 @@
|
|
163 |
flex-direction: column;
|
164 |
background: #f8f9fa;
|
165 |
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
}
|
167 |
|
168 |
.battle-nav {
|
@@ -197,5 +215,7 @@
|
|
197 |
display: flex;
|
198 |
flex-direction: column;
|
199 |
overflow: hidden;
|
|
|
|
|
200 |
}
|
201 |
</style>
|
|
|
163 |
flex-direction: column;
|
164 |
background: #f8f9fa;
|
165 |
overflow: hidden;
|
166 |
+
padding-top: env(safe-area-inset-top);
|
167 |
+
}
|
168 |
+
|
169 |
+
@media (max-width: 768px) {
|
170 |
+
.battle-page {
|
171 |
+
background: white;
|
172 |
+
}
|
173 |
+
|
174 |
+
.battle-page::before {
|
175 |
+
content: '';
|
176 |
+
position: absolute;
|
177 |
+
top: 0;
|
178 |
+
left: 0;
|
179 |
+
right: 0;
|
180 |
+
height: env(safe-area-inset-top);
|
181 |
+
background: white;
|
182 |
+
z-index: 1;
|
183 |
+
}
|
184 |
}
|
185 |
|
186 |
.battle-nav {
|
|
|
215 |
display: flex;
|
216 |
flex-direction: column;
|
217 |
overflow: hidden;
|
218 |
+
position: relative;
|
219 |
+
background: #f8f9fa;
|
220 |
}
|
221 |
</style>
|