fix(dashboard): don't leave the sidebar collapse button shaded after a tap

Its hover style was the sidebar's only one not limited to devices that
hover, so on a wide touch screen (an iPad in landscape) the button kept
its hover shade after being tapped.
This commit is contained in:
Nariman Jelveh committed 2026-10-23 14:21:13 -07:00
1 parent c407eb0112
commit bb74a2e8de
1 file changed
+5 -3
+5 -3
View File
@@ -362,9 +362,11 @@ body {
display: none;
}
.dashboard-sidebar-collapse-toggle:hover {
background: var(--dashboard-hover);
color: var(--dashboard-text);
@media (hover: hover) {
.dashboard-sidebar-collapse-toggle:hover {
background: var(--dashboard-hover);
color: var(--dashboard-text);
}
}
/* Collapsed sidebar state. Desktop only: below the drawer breakpoint the