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(
title, child: FlowyText.regular(
fontSize: FontSizes.s14, title,
fontFamily: GoogleFonts.poppins( fontSize: FontSizes.s14,
fontWeight: FontWeight.w500, fontFamily: GoogleFonts.poppins(
).fontFamily, fontWeight: FontWeight.w500,
).fontFamily,
overflow: TextOverflow.ellipsis,
),
), ),
Tooltip( Tooltip(
decoration: BoxDecoration( decoration: BoxDecoration(