Fixing tabs again (#6566)

This commit is contained in:
sean-brydon authored and GitHub committed 2023-01-19 12:05:00 +00:00
1 parent d4c5a906b5
commit 6dcb16724c
2 files changed
+2 -2

No files matched your search

@@ -29,7 +29,7 @@ const HorizontalTabItem = function ({ name, href, linkProps, ...props }: Horizon
{...linkProps}
className={classNames(
isCurrent ? "bg-gray-200 text-gray-900" : " text-gray-600 hover:bg-gray-100 hover:text-gray-900 ",
"inline-flex items-center justify-center whitespace-nowrap rounded-[4px] py-[10px] px-4 text-sm font-medium leading-4 md:mb-0",
"inline-flex items-center justify-center whitespace-nowrap rounded-[6px] py-[10px] px-4 text-sm font-medium leading-4 md:mb-0",
props.disabled && "pointer-events-none !opacity-30",
props.className
)}
@@ -10,7 +10,7 @@ const HorizontalTabs = function ({ tabs, linkProps, actions, ...props }: NavTabP
return (
<div className="mb-2 h-9 max-w-[calc(100%+40px)] lg:mb-5">
<nav
className="no-scrollbar flex max-h-9 space-x-1 overflow-scroll rounded-md border p-1"
className="no-scrollbar flex max-h-9 space-x-1 overflow-scroll rounded-md"
aria-label="Tabs"
{...props}>
{tabs.map((tab, idx) => (