fix(flutter_desktop): page name overflow in search (#7450)

This commit is contained in:
Richard Shiue 2025-03-04 17:17:42 +08:00 committed by GitHub
parent 3bf4f080c5
commit bbec60ff02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,10 +27,12 @@ class RecentViewTile extends StatelessWidget {
children: [ children: [
icon, icon,
const HSpace(6), const HSpace(6),
FlowyText( Expanded(
child: FlowyText(
view.nameOrDefault, view.nameOrDefault,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
),
], ],
), ),
focusColor: Theme.of(context).colorScheme.primary.withValues(alpha: 0.1), focusColor: Theme.of(context).colorScheme.primary.withValues(alpha: 0.1),