From f7c0c3f7840d9bf17a61986f25c87346869ab93d Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Fri, 24 May 2024 12:16:17 +0200 Subject: [PATCH] Improve keyboard navigation --- .../AppLayout/components/Footer.astro | 50 ++++--------------- .../AppLayout/components/Html.astro | 18 ++++++- .../AppLayout/components/Topbar/Topbar.astro | 2 + .../Topbar/components/ParentPagesButton.astro | 4 +- .../Topbar/components/ReturnToButton.astro | 16 +++--- src/components/Card.astro | 30 +++++++---- .../components/OpenMediaPageButton.astro | 13 +++-- .../RTUpload/components/RTImage.astro | 41 +++++++++------ src/components/SourceRow.astro | 12 ++++- src/pages/[locale]/api/pages/partial.astro | 25 +++++++--- .../[slug]/_components/ImageTile.astro | 8 ++- .../[locale]/collectibles/[slug]/index.astro | 16 ++++-- src/pages/[locale]/folders/[slug].astro | 1 + 13 files changed, 136 insertions(+), 100 deletions(-) diff --git a/src/components/AppLayout/components/Footer.astro b/src/components/AppLayout/components/Footer.astro index c32ea9d..491d836 100644 --- a/src/components/AppLayout/components/Footer.astro +++ b/src/components/AppLayout/components/Footer.astro @@ -32,35 +32,35 @@ const contactLabel = `${t("footer.socials.contact.title")} - ${t(
-- {typeLabel} - {label} -
-+ {typeLabel} + {label} +
{/* ------------------------------------------- CSS -------------------------------------------- */} diff --git a/src/components/RichText/components/RTUpload/components/OpenMediaPageButton.astro b/src/components/RichText/components/RTUpload/components/OpenMediaPageButton.astro index 8ecc068..1cd8a8f 100644 --- a/src/components/RichText/components/RTUpload/components/OpenMediaPageButton.astro +++ b/src/components/RichText/components/RTUpload/components/OpenMediaPageButton.astro @@ -12,12 +12,10 @@ const { t } = await getI18n(Astro.locals.currentLocale); {/* ------------------------------------------- HTML ------------------------------------------- */} -