fix(ui): improve theme selector dismissal behavior on mobile
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user