fix(mobile-menu): focus the sheet panel instead of the Home link so its text stops rolling on open

This commit is contained in:
dong.nguyen committed 2026-10-17 15:11:21 +07:00
1 parent 6cd665960a
commit 75ebf65e92
5 files changed
+28 -20

No files matched your search

+7
View File
@@ -155,6 +155,13 @@
overscroll-behavior: contain;
}
/* The sheet itself is the focus target on open (`tabIndex={-1}` on the panel in
`MobileMenu.tsx`). A ring here would frame the whole viewport, and every control inside
already carries its own `:focus-visible` rule. */
.mobile-menu:focus {
outline: none;
}
.mobile-menu-inner {
max-width: var(--max-content);
margin: 0 auto;