Skip to content

Commit

Permalink
Merge pull request #212 from storybookjs/kylegach/sb-1535-codesnippet…
Browse files Browse the repository at this point in the history
…-goes-out-of-view
  • Loading branch information
kylegach committed Jul 18, 2024
2 parents 15bd3ad + f533c81 commit 4689307
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/ui/src/mdx/components/callout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ export const Callout: FC<CalloutProps> = ({
{...props}
>
{appliedIcon ? (
<span aria-hidden className="ui-hidden ui-text-2xl md:ui-flex">
<span
aria-hidden
className="ui-hidden ui-text-2xl md:ui-flex ui-flex-none"
>
{appliedIcon}
</span>
) : null}
<div>
<div className="ui-min-w-0">
{title ? (
<div dangerouslySetInnerHTML={{ __html: snarkdown(title) }} />
) : null}
Expand Down

0 comments on commit 4689307

Please sign in to comment.