From 2a247d676431d33767fc64331e3b7ecb9b456534 Mon Sep 17 00:00:00 2001 From: Adam Argyle Date: Thu, 17 Oct 2024 11:18:57 +0200 Subject: [PATCH] Update sun-and-moon.css to a proper length value --- theme-switch/sun-and-moon.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theme-switch/sun-and-moon.css b/theme-switch/sun-and-moon.css index af0c9687..876b1e7e 100644 --- a/theme-switch/sun-and-moon.css +++ b/theme-switch/sun-and-moon.css @@ -34,9 +34,9 @@ & > .moon > circle { transform: translateX(-7px); - @supports (cx: 1) { + @supports (cx: 1px) { transform: translateX(0); - cx: 17; + cx: 17px; } } } @@ -56,7 +56,7 @@ & .moon > circle { transition: transform .25s var(--ease-out-5); - @supports (cx: 1) { + @supports (cx: 1px) { transition: cx .25s var(--ease-out-5); } } @@ -79,4 +79,4 @@ } } } -} \ No newline at end of file +}