From bb74a2e8deb0afa9182bd01d1ea98a4c8bdf729e Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Fri, 23 Oct 2026 14:21:13 -0700 Subject: [PATCH] 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. --- src/gui/src/css/dashboard.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/gui/src/css/dashboard.css b/src/gui/src/css/dashboard.css index d654892ce..1f691dc05 100644 --- a/src/gui/src/css/dashboard.css +++ b/src/gui/src/css/dashboard.css @@ -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