Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from topos-protocol/is-component-fix
Browse files Browse the repository at this point in the history
TOP-1012: Fix accordion layout when embedded in HighlightBox
  • Loading branch information
coldice authored Sep 25, 2023
2 parents 9c9a185 + 8633034 commit dea6e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/mdx/HighlightBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const HighlightBox: React.FC<HighlightBoxProps> = ({
{Icon}
</span>
)}
<div className="[&>*+*]:mt-[0.5rem]">
<div className="flex-1 [&>*+*]:mt-[0.5rem]">
{title && <div className="text-base font-bold">{title}</div>}
{children}
</div>
Expand Down

0 comments on commit dea6e38

Please sign in to comment.