Skip to content

Commit

Permalink
Issue: #
Browse files Browse the repository at this point in the history
Changed the maximum allowed length of description
  • Loading branch information
heckop committed May 11, 2024
1 parent b0bc564 commit b45c614
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ export const CalendarEventRow = ({
</StyledTime>
{showTitle ? (
<StyledTitle active={!hasEnded} canceled={!!calendarEvent.isCanceled}>
{calendarEvent.title}
{calendarEvent.title.length > 30
? `${calendarEvent.title.substring(0, 30)}...`
: calendarEvent.title}
</StyledTitle>
) : (
<StyledVisibilityCard active={!hasEnded}>
Expand Down

0 comments on commit b45c614

Please sign in to comment.