Browse Source

Remove unnecessary scrollbar

main
Dan Abramov 2 years ago
parent
commit
fc2e89cc43
  1. 2
      src/components/Layout/TopNav/TopNav.tsx

2
src/components/Layout/TopNav/TopNav.tsx

@ -302,7 +302,7 @@ export default function TopNav({
className="w-full lg:h-auto grow pr-0 lg:pr-5 pt-4 lg:py-6 md:pt-4 lg:pt-4 scrolling-touch scrolling-gpu">
{/* No fallback UI so need to be careful not to suspend directly inside. */}
<Suspense fallback={null}>
<div className="pl-3 xs:pl-5 xs:gap-0.5 xs:text-base overflow-x-scroll flex flex-row lg:hidden text-base font-bold text-secondary dark:text-secondary-dark">
<div className="pl-3 xs:pl-5 xs:gap-0.5 xs:text-base overflow-x-auto flex flex-row lg:hidden text-base font-bold text-secondary dark:text-secondary-dark">
<NavItem isActive={section === 'learn'} url="/learn">
Learn
</NavItem>

Loading…
Cancel
Save