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(
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(