Skip to content

Commit

Permalink
fixes 472
Browse files Browse the repository at this point in the history
  • Loading branch information
samithaf committed Dec 6, 2023
1 parent e0e37ce commit 47e5e64
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

0 comments on commit 47e5e64

Please sign in to comment.