handoff minor fixes
This commit is contained in:
parent
d4bb4df40d
commit
48eea5d201
8 changed files with 99 additions and 28 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue