[O] css > tailwind

This commit is contained in:
2025-11-23 09:18:21 +08:00
parent 11d20c560c
commit 8ebad5d32b
3 changed files with 10 additions and 34 deletions
+9 -11
View File
@@ -5,15 +5,13 @@
const t = getI18n().errorPage; const t = getI18n().errorPage;
</script> </script>
<main> <AppBar title={t.title} />
<AppBar title={t.title} /> <div class="p-content">
<div class="p-content error-page__content"> <p class="mt-12px">{@html t.message}</p>
<p class="error-page__text" >{@html t.message}</p> <div class="absolute bottom-16px inset-x-16px">
<div class="error-page__button-container"> <a href="/">
<a href="/"> <Button big>{t.return}</Button>
<Button class="error-page__button">{t.return}</Button> </a>
</a>
</div>
</div> </div>
</main> </div>
+1 -1
View File
@@ -33,7 +33,7 @@
<link rel="icon" href={favicon} /> <link rel="icon" href={favicon} />
</svelte:head> </svelte:head>
<div class="app-container vbox h-screen min-h-screen box-border overflow-hidden relative"> <div class="vbox h-screen min-h-screen box-border overflow-hidden relative max-w-1200px mx-auto">
{@render children()} {@render children()}
</div> </div>
-22
View File
@@ -38,25 +38,3 @@ body
overflow-y: auto overflow-y: auto
min-height: 0 min-height: 0
flex: 1 flex: 1
.app-container
max-width: 1200px
margin: 0 auto
.error-page__link
text-decoration: underline
.error-page__button
display: flex
align-items: center
justify-content: center
width: 100%
.error-page__text
margin-top: 12px
.error-page__button-container
position: absolute
bottom: 16px
width: calc(100% - 32px)