Skip to content

Commit

Permalink
fix callout shrinking from children content (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri POSTOLOV authored Aug 26, 2022
1 parent a27bbb5 commit 0003761
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/swift-drinks-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'nextra-theme-docs': patch
---

fix callout shrinking from children content
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/src/components/callout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function Callout({
>
{emoji}
</div>
<span>
<span className="w-[calc(100%-2.5rem)]">
{children}
</span>
</div>
Expand Down

0 comments on commit 0003761

Please sign in to comment.