Skip to content

Commit

Permalink
Add ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrisbattarbee committed Apr 11, 2024
1 parent e758ff4 commit ffa8d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statusphere-frontend/src/components/Outages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function Outages(props: OutagesProps) {
<TableCell className={"max-w-[300px] break-words"}><a className={"max-w-[300px] break-words"}
href={incident.deepLink}> {(() => {
if (incident.title.length > 100) {
return incident.title.substring(0, 100)
return incident.title.substring(0, 100) + "..."
}
return incident.title
})()} </a></TableCell>
Expand Down

0 comments on commit ffa8d80

Please sign in to comment.