Skip to content

Commit

Permalink
docs(BlogCard, CollectionCard): Update TODO comment for external link…
Browse files Browse the repository at this point in the history
… icon placement
  • Loading branch information
adriangohjw committed Feb 25, 2025
1 parent e1fdb2d commit 4cf732c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ export const ExternalLink: Story = {
}),
}

// TODO: fix external link icon not visible when the text is being truncated
// because the icon is at the end of the text
// export const ExternalLinkLongText: Story = {
// args: generateArgs({ isExternalLink: true }),
// }
// TODO: ideally when the text is being truncated,
// the external link icon should be at the end of the text instead of the newline
export const ExternalLinkLongText: Story = {
args: generateArgs({ isExternalLink: true }),
}

export const UndefinedDate: Story = {
args: generateArgs({ isLastUpdatedUndefined: true }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ export const ExternalLink: Story = {
}),
}

// TODO: fix external link icon not visible when the text is being truncated
// because the icon is at the end of the text
// export const ExternalLinkLongText: Story = {
// args: generateArgs({ isExternalLink: true }),
// }
// TODO: ideally when the text is being truncated,
// the external link icon should be at the end of the text instead of the newline
export const ExternalLinkLongText: Story = {
args: generateArgs({ isExternalLink: true }),
}

export const UndefinedDate: Story = {
args: generateArgs({ isLastUpdatedUndefined: true }),
Expand Down

0 comments on commit 4cf732c

Please sign in to comment.