diff --git a/lib/components/Home/Sidebar.dart b/lib/components/Home/Sidebar.dart index df792eab..95e90e21 100644 --- a/lib/components/Home/Sidebar.dart +++ b/lib/components/Home/Sidebar.dart @@ -154,11 +154,19 @@ class Sidebar extends HookConsumerWidget { backgroundImage: CachedNetworkImageProvider(avatarImg), ), - const SizedBox(width: 10), - Text( - data.displayName ?? "Guest", - style: const TextStyle( - fontWeight: FontWeight.bold, + const SizedBox( + width: 10, + ), + SizedBox( + width: 120, + child: Text( + data.displayName ?? "Guest", + maxLines: 1, + softWrap: false, + overflow: TextOverflow.fade, + style: const TextStyle( + fontWeight: FontWeight.bold, + ), ), ), ],