From b91fcfcf8dce78da2be4453cacc7b20cd78ad15b Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 14 Mar 2023 20:54:11 +0100 Subject: [PATCH] Fix for line and drop to not break when more articles get added --- src/layouts/blogSection.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layouts/blogSection.astro b/src/layouts/blogSection.astro index 75c1a2a..d9211e0 100644 --- a/src/layouts/blogSection.astro +++ b/src/layouts/blogSection.astro @@ -22,7 +22,7 @@ const { title } = Astro.props visibility: visible; left: 0; right: 0; - bottom: -20%; + bottom: -5rem; margin-left: auto; margin-right: auto; height: 1.5rem; @@ -40,8 +40,8 @@ const { title } = Astro.props margin-left: auto; margin-right: auto; background-color: var(--c-darkpurple); - height: 120%; - translate: 0% 7.5%; + height: calc(100% + 5rem); + translate: 0% 2rem; width: 0.25rem; z-index: -1; }