diff --git a/app/globals.css b/app/globals.css index f5d1384..38200e4 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1090,6 +1090,14 @@ a.underline-brutal:hover .arrow { transform: translate3d(0, 0, 0); } +/* Floor matches the phone cap (380px) so the panel never shrinks + across the 768px crossover. */ +@media (min-width: 768px) { + .mm-panel { + width: clamp(380px, 48vw, 520px); + } +} + .mm-head { display: flex; align-items: center; @@ -1237,10 +1245,10 @@ a.underline-brutal:hover .arrow { } } -/* Phones only. Gated in CSS instead of Tailwind's md:hidden because +/* Phones and tablets. Gated in CSS instead of Tailwind's xl:hidden because these custom rules are unlayered and would beat the utilities layer, leaking the toggle onto desktop. */ -@media (min-width: 768px) { +@media (min-width: 1280px) { .mm-toggle, .mm-overlay, .mm-panel { diff --git a/components/site/Chrome.tsx b/components/site/Chrome.tsx index 4323ef1..3b14861 100644 --- a/components/site/Chrome.tsx +++ b/components/site/Chrome.tsx @@ -166,7 +166,7 @@ export function Chrome() { labs -