From d404dd72bb1ed5d326d0d47b8df8b8302aa917c4 Mon Sep 17 00:00:00 2001 From: YouHaveTrouble Date: Wed, 9 Oct 2024 21:08:27 +0200 Subject: [PATCH] center the view counter on mobile --- src/components/ViewCounter.astro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/ViewCounter.astro b/src/components/ViewCounter.astro index 03415c3..bd2a969 100644 --- a/src/components/ViewCounter.astro +++ b/src/components/ViewCounter.astro @@ -33,6 +33,12 @@ } + @media (max-width: 800px) { + .view-counter { + margin: 0 auto; + } + } +