Skip to content

Commit fc2e89c

Browse files
committed
Remove unnecessary scrollbar
1 parent 1a11868 commit fc2e89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Layout/TopNav/TopNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export default function TopNav({
302302
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">
303303
{/* No fallback UI so need to be careful not to suspend directly inside. */}
304304
<Suspense fallback={null}>
305-
<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">
305+
<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">
306306
<NavItem isActive={section === 'learn'} url="/learn">
307307
Learn
308308
</NavItem>

0 commit comments

Comments
 (0)