Skip to content

Commit

Permalink
SUP-192: media caption
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbreese committed Apr 16, 2024
1 parent 53c89de commit 4fa336f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/elements/action-link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const ActionLink = ({children, ...props}: Props) => {
return (
<Link {...props} className={twMerge("relative", props.className)}>
{children}
<ChevronRightIcon height={25} className="ml-2 inline-block"/>
<ChevronRightIcon height={20} className="ml-2 inline-block mb-2"/>
</Link>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const MediaCaptionParagraph = ({paragraph, ...props}: Props) => {
}
{videoUrl && <Oembed url={videoUrl}/>}

<figcaption className="text-right text-m0 text-cool-grey color">
<figcaption className="text-m0">
{paragraph.suMediaCaptionLink?.url &&
<Link href={paragraph.suMediaCaptionLink.url}>
<Link href={paragraph.suMediaCaptionLink.url} className="link--action">
{paragraph.suMediaCaptionLink.title}
</Link>
}
Expand Down

0 comments on commit 4fa336f

Please sign in to comment.