diff --git a/blog/src/components/Header.astro b/blog/src/components/Header.astro index 5450c63..290c0a7 100644 --- a/blog/src/components/Header.astro +++ b/blog/src/components/Header.astro @@ -77,7 +77,7 @@ import Logo from "./Logo.astro"; #user-action { margin: 0; order: 2; - margin-bottom: auto; + margin-bottom: 64px; } #impressum { diff --git a/blog/src/components/PostPreviewLarge.astro b/blog/src/components/PostPreviewLarge.astro index ff0639b..219b763 100644 --- a/blog/src/components/PostPreviewLarge.astro +++ b/blog/src/components/PostPreviewLarge.astro @@ -27,7 +27,7 @@ const localeDate = formatLocalizedDateString(post.date); | Autor: {post.author} | - Lesezeit: {post.time2read} min + {post.time2read} min

{post.title}

@@ -62,7 +62,8 @@ const localeDate = formatLocalizedDateString(post.date); } h2 { - margin: 0; + + font-weight: 600; } .image-col { @@ -100,8 +101,7 @@ const localeDate = formatLocalizedDateString(post.date); margin-right: 16px; } - #headline, - #subtitle { + #headline, #subtitle { font-weight: bold; margin: 8px 0 0 0; } diff --git a/blog/src/islands/RegisterForm.tsx b/blog/src/islands/RegisterForm.tsx index 06b154b..ca2b0b6 100644 --- a/blog/src/islands/RegisterForm.tsx +++ b/blog/src/islands/RegisterForm.tsx @@ -15,7 +15,7 @@ export default function RegisterForm() { await api.register(user); } catch (err) { const errorMessage = err instanceof Error ? err.message : 'Unbekannter Fehler'; - + if (errorMessage.includes('Network')) { setError("Backend nicht erreichbar") } else if (errorMessage.includes('406') && user.name == '') { @@ -74,6 +74,10 @@ export default function RegisterForm() {