From bbec60ff02192ec321f384a000d2aba9e7fcb56e Mon Sep 17 00:00:00 2001 From: Richard Shiue <71320345+richardshiue@users.noreply.github.com> Date: Tue, 4 Mar 2025 17:17:42 +0800 Subject: [PATCH] fix(flutter_desktop): page name overflow in search (#7450) --- .../command_palette/widgets/recent_view_tile.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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, + ), ), ], ),