mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
fix(mobile-menu): focus the sheet panel instead of the Home link so its text stops rolling on open
This commit is contained in:
1 parent
6cd665960a
commit
75ebf65e92
5 files changed
+28
-20
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user