north-star / commit
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;