fix(ui): improve theme selector dismissal behavior on mobile

This commit is contained in:
spinline
2026-02-01 17:00:41 +03:00
parent 3289f2926d
commit 4fa325f4f3
3 changed files with 19 additions and 1 deletions

View File

@@ -2388,13 +2388,19 @@
}
@layer base {
html, body {
height: 100%;
min-height: 100dvh;
width: 100%;
overflow: hidden;
overscroll-behavior-y: none;
background-color: var(--color-base-100);
color: var(--color-base-content);
}
}
@media (hover: none) {
body {
cursor: pointer;
}
}
@layer base {
:where(:root),:root:has(input.theme-controller[value=light]:checked),[data-theme=light] {
color-scheme: light;