💄 Fix styles

This commit is contained in:
LittleSheep 2024-02-09 16:34:39 +08:00
parent 66aff498bd
commit 33384f4d02
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,7 @@
---
import RootLayout from "../layouts/RootLayout.astro";
export const prerender = false;
---
<RootLayout>

View File

@ -1,9 +1,11 @@
---
import RootLayout from "../../../layouts/RootLayout.astro";
export const prerender = false;
---
<RootLayout>
<div class="w-screen h-screen flex items-center justify-center">
<div id="countdown-container" class="w-screen h-screen flex items-center justify-center">
<div class="flex flex-col gap-6">
<div class="text-center">
<p>距离</p>
@ -92,8 +94,8 @@ import RootLayout from "../../../layouts/RootLayout.astro";
</script>
<style>
body {
overflow: hidden;
body, html, #countdown-container {
overflow: hidden !important;
}
.fireworks {
position: absolute;