fix(data): mobile breakpoint for nav

This commit is contained in:
Adam 2026-06-12 13:32:54 -05:00
parent 621796d8ce
commit f8b357b267
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
2 changed files with 2 additions and 2 deletions

View file

@ -3506,7 +3506,7 @@
}
}
@media (min-width: 75rem) {
@media (min-width: 90rem) {
[data-page="stats"] [data-slot="header-bar"] {
gap: 32px;
}

View file

@ -72,7 +72,7 @@ export function Header(props: { githubStars: string; links?: readonly HeaderLink
createEffect(() => {
if (typeof window === "undefined") return
const media = window.matchMedia("(max-width: 74.999rem)")
const media = window.matchMedia("(max-width: 89.999rem)")
const update = () => setMenuViewport(media.matches)
update()
media.addEventListener("change", update)