Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lebalz authored Jun 14, 2024
1 parent 32d5ab0 commit bc17ea3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docusaurus-theme-classic/src/theme/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ function TabList({
}

function TabContent({
className,
lazy,
children,
selectedValue,
Expand All @@ -122,7 +123,7 @@ function TabContent({
// fail-safe or fail-fast? not sure what's best here
return null;
}
return cloneElement(selectedTabItem, {className: 'margin-top--md'});
return cloneElement(selectedTabItem, {className: clsx('margin-top--md', className)});
}
return (
<div className="margin-top--md">
Expand Down

0 comments on commit bc17ea3

Please sign in to comment.