From 9b3c1921e8195bd54d2d80873b6864ca96032ffe Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Thu, 23 Nov 2023 09:39:40 +0800 Subject: [PATCH] fix: login page hint text overflow (#3987) --- .../user/presentation/widgets/folder_widget.dart | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/frontend/appflowy_flutter/lib/user/presentation/widgets/folder_widget.dart b/frontend/appflowy_flutter/lib/user/presentation/widgets/folder_widget.dart index fe43c1905b..8ac0e2cb43 100644 --- a/frontend/appflowy_flutter/lib/user/presentation/widgets/folder_widget.dart +++ b/frontend/appflowy_flutter/lib/user/presentation/widgets/folder_widget.dart @@ -257,12 +257,15 @@ class _FolderCard extends StatelessWidget { Row( crossAxisAlignment: CrossAxisAlignment.center, children: [ - FlowyText.regular( - title, - fontSize: FontSizes.s14, - fontFamily: GoogleFonts.poppins( - fontWeight: FontWeight.w500, - ).fontFamily, + Flexible( + child: FlowyText.regular( + title, + fontSize: FontSizes.s14, + fontFamily: GoogleFonts.poppins( + fontWeight: FontWeight.w500, + ).fontFamily, + overflow: TextOverflow.ellipsis, + ), ), Tooltip( decoration: BoxDecoration(