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
fix: the text and icon in + menu are not aligned in the same baseline (#4500)
Lucas.Xu64cd7d41ca44
diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_block_toolbar_item.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_block_toolbar_item.dartindex cf4a918f51..785e9dd28b 100644--- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_block_toolbar_item.dart+++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/mobile_toolbar_v3/add_block_toolbar_item.dart@@ -272,6 +272,7 @@ class _AddBlockMenuItem extends StatelessWidget {return GestureDetector(onTap: data.onTap,child: Column(+ mainAxisAlignment: MainAxisAlignment.center,children: [Container(height: 68.0 * context.scale,@@ -289,9 +290,15 @@ class _AddBlockMenuItem extends StatelessWidget {),),const VSpace(4),- FlowyText(- data.text,- fontSize: 12.0,+ ConstrainedBox(+ constraints: BoxConstraints(+ maxWidth: 68.0 * context.scale,+ ),+ child: FlowyText(+ data.text,+ fontSize: 12.0,+ overflow: TextOverflow.ellipsis,+ ),),],),