From 612e92df82ebcaab082d98347dad9a265d31acfa Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sat, 9 Mar 2024 23:49:48 +0100 Subject: [PATCH] Small fixes --- astro.config.ts | 2 +- .../components/AppLayoutBackgroundImg.astro | 2 ++ .../AppLayout/components/Topbar/Topbar.astro | 4 +-- .../api/hooks/collection-operation.astro | 2 +- src/utils/cachedPayload.ts | 4 +-- src/utils/format.ts | 25 +++++++++++++++++++ 6 files changed, 33 insertions(+), 6 deletions(-) diff --git a/astro.config.ts b/astro.config.ts index 514f6ca..403eca5 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -20,7 +20,7 @@ export default defineConfig({ }, }), ], - devToolbar: { enabled: false }, + // devToolbar: { enabled: false }, server: { port: 12499, host: true, diff --git a/src/components/AppLayout/components/AppLayoutBackgroundImg.astro b/src/components/AppLayout/components/AppLayoutBackgroundImg.astro index eaf5adc..a6d0a16 100644 --- a/src/components/AppLayout/components/AppLayoutBackgroundImg.astro +++ b/src/components/AppLayout/components/AppLayoutBackgroundImg.astro @@ -33,6 +33,8 @@ const uniqueId = getRandomId(); object-fit: cover; object-position: 50% 0; + z-index: -1; + mask-image: linear-gradient(to bottom, rgba(0 0 0 / 30%) 0%, transparent 100%); @media (min-width: 110vh) { diff --git a/src/components/AppLayout/components/Topbar/Topbar.astro b/src/components/AppLayout/components/Topbar/Topbar.astro index 893590a..cbefd53 100644 --- a/src/components/AppLayout/components/Topbar/Topbar.astro +++ b/src/components/AppLayout/components/Topbar/Topbar.astro @@ -35,8 +35,8 @@ const { t, getLocalizedUrl } = await getI18n(Astro.locals.currentLocale); }