diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index 352d077..2224534 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -345,7 +345,18 @@ export function Navbar({ singleActiveProduct }: { singleActiveProduct: boolean } // position itself. <>
- {/* Mobile drawer panel — toggleable below lg (see hamburger above) */} + {/* Mobile drawer panel — toggleable below lg (see hamburger above). + `grid-rows-[0fr]/[1fr]` (not a guessed max-h-[Nrem]) is what + actually animates the open/close height — a CSS grid row sized in + `fr` units transitions smoothly between 0 and its content's real + height with no fixed cap to guess/outgrow, the modern replacement + for the old max-height-accordion trick. `overflow-hidden` has to + live on the *inner* div, not this one — collapsing a 0fr grid row + already clips its content on its own, and this outer element is + also where the opacity/translate fade below is applied, which + must NOT itself be clipped (a translateY sliding a hidden/clipped + element in doesn't read as a fade-in, just a hard cut). */}
- +
+ + + 7-Tage-Challenge + +
+ +