From 4fdaf1f2bff37723f320602d59b1945abc57ab52 Mon Sep 17 00:00:00 2001 From: Lio Date: Tue, 23 Jul 2024 23:36:10 +0200 Subject: [PATCH] frost some glass & fix some layouting --- src/components/Card.astro | 2 +- src/components/Image.astro | 2 +- src/components/Lightbox.astro | 15 ++++++--------- src/components/Sidebar.astro | 5 ++++- src/layouts/CharacterList.astro | 2 +- src/layouts/Gallery.astro | 32 ++++--------------------------- src/pages/characters/[slug].astro | 19 +++++++++--------- src/pages/characters/index.astro | 8 +++++--- 8 files changed, 32 insertions(+), 53 deletions(-) diff --git a/src/components/Card.astro b/src/components/Card.astro index ad4929f..66a67f2 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -21,7 +21,7 @@ if (image) { ) } -
+

{title}

{body} diff --git a/src/components/Image.astro b/src/components/Image.astro index b95e997..8425f21 100644 --- a/src/components/Image.astro +++ b/src/components/Image.astro @@ -13,7 +13,7 @@ const { src, alt, nsfw } = Astro.props; alt && (
{alt}
diff --git a/src/components/Lightbox.astro b/src/components/Lightbox.astro index cab6841..72f8eb3 100644 --- a/src/components/Lightbox.astro +++ b/src/components/Lightbox.astro @@ -1,6 +1,6 @@ -
+
-
+