Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: calendar event editor field name overflow (#3877)

Richard Shiueeb54cf99d467
diff --git a/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_event_editor.dart b/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_event_editor.dart
index 8ccef33fdf..12b568dfb4 100644
--- a/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_event_editor.dart
+++ b/frontend/appflowy_flutter/lib/plugins/database_view/calendar/presentation/calendar_event_editor.dart
@@ -144,7 +144,7 @@ class EventPropertyList extends StatelessWidget {
textStyle: Theme.of(context)
.textTheme
.bodyMedium
- ?.copyWith(fontSize: 11),
+ ?.copyWith(fontSize: 11, overflow: TextOverflow.ellipsis),
autofocus: true,
useRoundedBorder: true,
),
@@ -213,10 +213,13 @@ class _PropertyCellState extends State<PropertyCell> {
size: const Size.square(14),
),
const HSpace(4.0),
- FlowyText.regular(
- widget.cellContext.fieldInfo.name,
- color: Theme.of(context).hintColor,
- fontSize: 11,
+ Expanded(
+ child: FlowyText.regular(
+ widget.cellContext.fieldInfo.name,
+ color: Theme.of(context).hintColor,
+ overflow: TextOverflow.ellipsis,
+ fontSize: 11,
+ ),
),
],
),