Fixes scroll on medium screens

pull/6139/head
zomars 2022-12-20 15:36:18 -07:00
parent 3b74717591
commit ae30aafafe
1 changed files with 1 additions and 4 deletions

View File

@ -11,10 +11,7 @@ export interface NavTabProps {
const HorizontalTabs = function ({ tabs, linkProps, actions, ...props }: NavTabProps) {
return (
<div className="-mx-6 mb-2 w-[calc(100%+40px)]">
<nav
className="no-scrollbar flex space-x-1 overflow-scroll px-6 md:overflow-visible"
aria-label="Tabs"
{...props}>
<nav className="no-scrollbar flex space-x-1 overflow-scroll px-6" aria-label="Tabs" {...props}>
{tabs.map((tab, idx) => (
<HorizontalTabItem {...tab} key={idx} {...linkProps} />
))}