diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart b/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart index 963d26fbd0..32994cc06a 100644 --- a/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart +++ b/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_day.dart @@ -122,17 +122,24 @@ class CalendarDayCard extends StatelessWidget { child: Padding( padding: const EdgeInsets.symmetric(vertical: 2), child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - FlowyText.regular( - cellData.date, - fontSize: 10, - color: Theme.of(context).hintColor, + Flexible( + flex: 3, + child: FlowyText.regular( + cellData.date, + fontSize: 10, + color: Theme.of(context).hintColor, + overflow: TextOverflow.ellipsis, + ), ), - const Spacer(), - FlowyText.regular( - cellData.time, - fontSize: 10, - color: Theme.of(context).hintColor, + Flexible( + child: FlowyText.regular( + cellData.time, + fontSize: 10, + color: Theme.of(context).hintColor, + overflow: TextOverflow.ellipsis, + ), ) ], ),