handoff minor fixes

This commit is contained in:
debu-2 2026-10-06 23:31:49 +05:30
parent d4bb4df40d
commit 48eea5d201
8 changed files with 99 additions and 28 deletions

View file

@ -175,7 +175,7 @@ export default function DashboardPage() {
}
function closeMobileMenu() {
if (window.matchMedia("(max-width: 767px)").matches) {
if (window.matchMedia("(max-width: 767.98px)").matches) {
setMenuOpen(false);
}
}
@ -219,7 +219,7 @@ export default function DashboardPage() {
setLens("all");
setAgentNav(actionKey);
closeMobileMenu();
const compact = window.matchMedia("(max-width: 1199px)").matches;
const compact = window.matchMedia("(max-width: 1199.98px)").matches;
setSheet(actionKey === "handoff" || !compact ? null : "agent");
}