diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/recent_view_tile.dart b/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/recent_view_tile.dart index 000de7c9db..645b9696c8 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/recent_view_tile.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/command_palette/widgets/recent_view_tile.dart @@ -27,9 +27,11 @@ class RecentViewTile extends StatelessWidget { children: [ icon, const HSpace(6), - FlowyText( - view.nameOrDefault, - overflow: TextOverflow.ellipsis, + Expanded( + child: FlowyText( + view.nameOrDefault, + overflow: TextOverflow.ellipsis, + ), ), ], ),