From e29763a41172e201b32afc947aa7b76d47d3e100 Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sat, 1 Jun 2024 17:08:27 +0200 Subject: [PATCH] Fixed size of lightbox smalltitle --- TODO.md | 2 -- src/components/Lightbox.astro | 2 +- src/pages/[locale]/folders/_components/FolderCard.astro | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index 631da81..3cdd87d 100644 --- a/TODO.md +++ b/TODO.md @@ -11,8 +11,6 @@ - [Feat] 404, 500 pages - [Bugs] [iOS] Video doesn't seem to start - [Feat] Add languages to collectibles and pages previews -- [Bugs] Folder icon is shrinking when title is too long https://v3.accords-library.com/en/folders/drakengard-1-3-shi-ni-itaru-aka -- [Bugs] Missing title fontsize on simple titles https://v3.accords-library.com/en/images/6656a0113fe38b258ef5f852 - [Feat] [RichTextContent] Handle relationship - [Bugs] Vollkorn doesn't support many languages - [Bugs] [Scans] Lack of spacing above credits if no description (e.g: https://v3.accords-library.com/en/collectibles/dod-official-guide-book-complete-edition/scans) diff --git a/src/components/Lightbox.astro b/src/components/Lightbox.astro index b987927..f9017a1 100644 --- a/src/components/Lightbox.astro +++ b/src/components/Lightbox.astro @@ -96,7 +96,7 @@ const hasNavigation = previousImageHref || nextImageHref;
{ smallTitle ? ( -

{title}

+

{title}

) : ( ) diff --git a/src/pages/[locale]/folders/_components/FolderCard.astro b/src/pages/[locale]/folders/_components/FolderCard.astro index ed559f7..e0ba9d7 100644 --- a/src/pages/[locale]/folders/_components/FolderCard.astro +++ b/src/pages/[locale]/folders/_components/FolderCard.astro @@ -36,6 +36,7 @@ const { icon = "material-symbols:folder", title, href } = Astro.props; & > svg { width: 24px; height: 24px; + flex-shrink: 0; } & > #right {