fix: login page hint text overflow (#3987)

This commit is contained in:
Lucas.Xu 2023-11-23 09:39:40 +08:00 committed by GitHub
parent 412f34c72a
commit 9b3c1921e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,12 +257,15 @@ class _FolderCard extends StatelessWidget {
Row( Row(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
FlowyText.regular( Flexible(
child: FlowyText.regular(
title, title,
fontSize: FontSizes.s14, fontSize: FontSizes.s14,
fontFamily: GoogleFonts.poppins( fontFamily: GoogleFonts.poppins(
fontWeight: FontWeight.w500, fontWeight: FontWeight.w500,
).fontFamily, ).fontFamily,
overflow: TextOverflow.ellipsis,
),
), ),
Tooltip( Tooltip(
decoration: BoxDecoration( decoration: BoxDecoration(