diff --git a/src/components/Tabs/Tabs.module.css b/src/components/Tabs/Tabs.module.css index 59cf80bd9..2a1c43175 100644 --- a/src/components/Tabs/Tabs.module.css +++ b/src/components/Tabs/Tabs.module.css @@ -1,6 +1,21 @@ .container { @apply mt-4; } +.tablist { + @apply border-0 border-b border-solid border-black mb-4; +} + +.tablist button { + @apply bg-transparent text-black border-none text-xl font-semibold leading-8 outline-none mb-[-1px] mr-12 capitalize; +} + +button.primary, +button.contentTabPrimary { + @apply text-link border-link border-0 border-b-4 border-solid; +} + +button.secondary { +} .tab { @apply py-1 px-2 mr-2; diff --git a/src/components/Tabs/Tabs.tsx b/src/components/Tabs/Tabs.tsx index 6860905bc..664790ede 100644 --- a/src/components/Tabs/Tabs.tsx +++ b/src/components/Tabs/Tabs.tsx @@ -65,7 +65,7 @@ export function Tabs({ sharedStore, ...slots }: Props) { return (
-
+
{tabs.map(([key, content]) => ( diff --git a/src/components/Tabs/TabsContent.tsx b/src/components/Tabs/TabsContent.tsx index f076839ee..5742968fe 100644 --- a/src/components/Tabs/TabsContent.tsx +++ b/src/components/Tabs/TabsContent.tsx @@ -64,7 +64,7 @@ export function TabsContent({ sharedStore, ...slots }: Props) { return (
-
+
{tabs.map(([key, content]) => (