fuzzyworld

north-star / commit

styles

fd3c2edc6693c5692fc95e56ba1c2ee8e3e035e2 · Pavel Safronov · 2026-03-15 23:03:41 -0700 · parents 1e87ff1c2a06

styles
 src/style.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/style.css b/src/style.css
index d2a5b63..4222790 100644
--- a/src/style.css
+++ b/src/style.css
@@ -294,6 +294,7 @@ body.dark .dark-mode-toggle {
     overflow: hidden;
     pointer-events: auto;
     z-index: 1;
+    container-type: size;
 }
 
 .is-hidden {
@@ -488,7 +489,7 @@ body.dark .dark-mode-toggle {
     top: 50%;
     left: 50%;
     translate: -50% -50%;
-    width: min(52vmin, 56dvh);
+    width: min(80cqw, 84cqh);
     aspect-ratio: 1;
     transform: rotate(0deg);
     user-select: none;