From 02f1026d384787c5f3032c8fcdb11eae0033b16c Mon Sep 17 00:00:00 2001 From: Ashish Bharti <95124729+heckop@users.noreply.github.com> Date: Sat, 11 May 2024 22:06:32 +0530 Subject: [PATCH] Issue #5267 Fixed: Added a length bound to title --- .../activities/calendar/components/CalendarEventRow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventRow.tsx b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventRow.tsx index 2c2b6ccea0a4..f49e73a4cf19 100644 --- a/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventRow.tsx +++ b/packages/twenty-front/src/modules/activities/calendar/components/CalendarEventRow.tsx @@ -142,8 +142,8 @@ export const CalendarEventRow = ({ {showTitle ? ( - {calendarEvent.title.length > 30 - ? `${calendarEvent.title.substring(0, 30)}...` + {calendarEvent.title.length > 50 + ? `${calendarEvent.title.slice(0, 50).trim()} ...` : calendarEvent.title} ) : (