From b10cd01c2feff9e016a2ac0f2d5a9913bd6358e6 Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Wed, 13 Mar 2024 05:39:18 +0100 Subject: [PATCH] Small fixes --- src/pages/[locale]/api/pages/partial.astro | 1 + src/pages/[locale]/collectibles/[slug].astro | 1 + src/pages/[locale]/folders/[slug].astro | 2 -- src/pages/[locale]/index.astro | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/[locale]/api/pages/partial.astro b/src/pages/[locale]/api/pages/partial.astro index 43cb5e8..6960e08 100644 --- a/src/pages/[locale]/api/pages/partial.astro +++ b/src/pages/[locale]/api/pages/partial.astro @@ -159,6 +159,7 @@ const translation = getLocalizedMatch(page.translations); margin: -1.5em; margin-block: 1em; border-radius: 3em; + width: fit-content; } hr { diff --git a/src/pages/[locale]/collectibles/[slug].astro b/src/pages/[locale]/collectibles/[slug].astro index 30c6071..645a2f0 100644 --- a/src/pages/[locale]/collectibles/[slug].astro +++ b/src/pages/[locale]/collectibles/[slug].astro @@ -236,6 +236,7 @@ const scansFirstImage = scans[0]; margin: -1.5em; margin-block: 1em; border-radius: 3em; + width: fit-content; } } diff --git a/src/pages/[locale]/folders/[slug].astro b/src/pages/[locale]/folders/[slug].astro index ac0cdd0..14d6b1d 100644 --- a/src/pages/[locale]/folders/[slug].astro +++ b/src/pages/[locale]/folders/[slug].astro @@ -19,8 +19,6 @@ if (folder instanceof Response) { const { getLocalizedMatch } = await getI18n(Astro.locals.currentLocale); const meta = getLocalizedMatch(folder.translations); - -// TODO: handle light and dark illustration for applayout --- {/* ------------------------------------------- HTML ------------------------------------------- */} diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index 244a7a3..8aea91b 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -195,6 +195,7 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale); backdrop-filter: blur(5px); padding: 1em; margin: -1em; + width: fit-content; border-radius: 5em; }