mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-05 21:46:51 +00:00
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:
1 parent
c407eb0112
commit
bb74a2e8de
1 file changed
+5
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user