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.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
[flutter]: fix overflow issue caused by long view name
appflowy3f04c807f4dd
diff --git a/app_flowy/lib/workspace/presentation/home/navigation.dart b/app_flowy/lib/workspace/presentation/home/navigation.dartindex d2bd97aeff..069c0ee6e7 100644--- a/app_flowy/lib/workspace/presentation/home/navigation.dart+++ b/app_flowy/lib/workspace/presentation/home/navigation.dart@@ -69,9 +69,9 @@ class FlowyNavigation extends StatelessWidget {Selector<NavigationNotifier, List<NavigationItem>>(selector: (context, notifier) => notifier.navigationItems,builder: (ctx, items, child) => Expanded(- child: Wrap(+ child: Row(children: _renderNavigationItems(items),- crossAxisAlignment: WrapCrossAlignment.start,+ // crossAxisAlignment: WrapCrossAlignment.start,),),),@@ -149,7 +149,7 @@ class NaviItemWidget extends StatelessWidget {@overrideWidget build(BuildContext context) {- return item.leftBarItem.padding(horizontal: 2, vertical: 2);+ return Expanded(child: item.leftBarItem.padding(horizontal: 2, vertical: 2));}}diff --git a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/item.dart b/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/item.dartindex 945632e501..ed1f5d9d39 100644--- a/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/item.dart+++ b/app_flowy/lib/workspace/presentation/widgets/menu/widget/app/section/item.dart@@ -56,7 +56,7 @@ class ViewSectionItem extends StatelessWidget {List<Widget> children = [SizedBox(width: 16, height: 16, child: state.view.thumbnail()),const HSpace(2),- FlowyText.regular(state.view.name, fontSize: 12),+ Expanded(child: FlowyText.regular(state.view.name, fontSize: 12)),];if (onHover || state.isEditing) {