create post top button + misc. cleanup

This commit is contained in:
Yusur 2025-10-28 20:06:06 +01:00
parent 599075219f
commit f0a0700aa1
5 changed files with 27 additions and 12 deletions

View file

@ -36,7 +36,7 @@ let colorThemeCls = $derived(`color-scheme-${colorScheme} color-theme-${colorThe
<!-- end SEO tags -->
</svelte:head>
<global-wrapper class={colorThemeCls}>
<div class="{colorThemeCls} contents">
<header>
<h1>
<a href="/">{appName()}</a>
@ -54,7 +54,7 @@ let colorThemeCls = $derived(`color-scheme-${colorScheme} color-theme-${colorThe
</main>
<MobileFooter />
</global-wrapper>
</div>
<style>
@ -88,8 +88,13 @@ let colorThemeCls = $derived(`color-scheme-${colorScheme} color-theme-${colorThe
@media screen and (max-width: 799px) {
main {
height: 100vh;
min-height: 100vh;
width: 100vw;
}
}
.contents {
position: relative;
}
</style>

View file

@ -5,7 +5,6 @@ import { redirect } from 'sveltekit-flash-message/server';
export const actions = {
default: async (event) => {
// TODO login
const { request } = event;