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(flutter_desktop): page name overflow in search (#7450)

Richard Shiuebbec60ff0219
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,
+ ),
),
],
),