diff --git a/src/components/TitleCardNew.astro b/src/components/TitleCardNew.astro index 154afab..e9d400e 100644 --- a/src/components/TitleCardNew.astro +++ b/src/components/TitleCardNew.astro @@ -30,14 +30,14 @@ const { remarkPluginFrontmatter } = await entry.render(); ---
-
+
{title} @@ -59,7 +59,7 @@ const { remarkPluginFrontmatter } = await entry.render(); {hasCover &&
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index d19ce51..0f9144b 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -129,7 +129,7 @@ if (title) { @layer components { .banner-home { - @apply h-[var(--banner-height-home)] + @apply h-[var(--banner-height)] md:h-[var(--banner-height-home)] } .banner-else { @apply h-[var(--banner-height)] diff --git a/src/layouts/MainGridLayout.astro b/src/layouts/MainGridLayout.astro index 21d0576..a3e9259 100644 --- a/src/layouts/MainGridLayout.astro +++ b/src/layouts/MainGridLayout.astro @@ -27,7 +27,7 @@ const enableBanner = siteConfig.banner.enable; transition:animate="none" >