From d2197984d870302d46bbad61314ab800178219c6 Mon Sep 17 00:00:00 2001 From: Richard Bergsma Date: Sat, 7 Jun 2025 18:05:44 +0200 Subject: [PATCH] Update BackToTop component styles for improved visibility and usability - Adjusted positioning and dimensions of the BackToTop button for better accessibility and user experience. - Increased right margin and button size to enhance visibility and interaction. --- src/components/ui/BackToTop.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/ui/BackToTop.astro b/src/components/ui/BackToTop.astro index 2ae429d..4b0a084 100644 --- a/src/components/ui/BackToTop.astro +++ b/src/components/ui/BackToTop.astro @@ -22,12 +22,12 @@ .back-to-top { position: fixed; bottom: 80px; /* Increased from 30px to avoid cookie banner */ - right: 40px; /* Increased from 30px for more margin from edge */ + right: 16px; /* Increased from 30px for more margin from edge */ display: flex; align-items: center; justify-content: center; - width: 45px; - height: 45px; + width: 54px; + height: 54px; border-radius: 50%; background-color: rgba(0, 0, 0, 0.2); color: #fff;