Skip to content

Commit

Permalink
Merge pull request #473 from WestpacGEL/design-system-doc-472-fix
Browse files Browse the repository at this point in the history
fixes 472
  • Loading branch information
samithaf authored Dec 6, 2023
2 parents e0e37ce + 47e5e64 commit 3446c10
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function ContentTabs({ content }: { content: ContentTabsProps }) {

if (filteredTabs.length === 1) {
return (
<div className="bg-background">
<div className="flex-1 bg-background">
<TabPanelByKey tabKey={filteredTabs[0].key} content={content} />
</div>
);
Expand All @@ -79,7 +79,7 @@ export function ContentTabs({ content }: { content: ContentTabsProps }) {
<Tabs aria-label="GEL design system content" selectedKey={tab} onSelectionChange={handleChange}>
{filteredTabs.map(tab => (
<Tabs.Panel title={tab.label} key={tab.key}>
<div className="bg-background">
<div className="flex-1 bg-background">
<TabPanelByKey tabKey={tab.key} content={content} />
</div>
</Tabs.Panel>
Expand Down

1 comment on commit 3446c10

@vercel
Copy link

@vercel vercel bot commented on 3446c10 Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gel-next-site – ./apps/site

gel-next-site-git-main-westpacgel.vercel.app
gel-next-site-westpacgel.vercel.app
gel-next-site.vercel.app

Please sign in to comment.