fix: remove home category height animation
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 21s

This commit is contained in:
TerryM
2026-05-29 00:20:41 +08:00
parent bca69fe3bd
commit 026b037c5b

View File

@@ -281,7 +281,7 @@ export function Home() {
<div className="md:hidden">
<div
ref={categoryRowRef}
className="flex snap-x snap-mandatory items-start overflow-x-auto overflow-y-hidden scroll-smooth transition-[height] duration-300 ease-out motion-reduce:transition-none [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
className="flex snap-x snap-mandatory items-start overflow-x-auto overflow-y-hidden scroll-smooth [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
style={{ height: `${mobileCategoryHeight}px` }}
aria-label={t("categorySection")}
>