From 8cea4b6cf371e128b7152474dfa0070ba6e882dc Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 9 Jun 2026 20:37:21 -0400 Subject: [PATCH] fix user sheet on small screens --- lib/widgets/user_bottom_sheet.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/widgets/user_bottom_sheet.dart b/lib/widgets/user_bottom_sheet.dart index 5cbb384..4a7f56b 100644 --- a/lib/widgets/user_bottom_sheet.dart +++ b/lib/widgets/user_bottom_sheet.dart @@ -118,9 +118,11 @@ class UserBottomSheet extends ConsumerWidget { SelectableText( member.displayName ?? userId.localpart, style: textTheme.headlineLarge, + textAlign: .center, ), SelectableText( userId, + textAlign: .center, style: textTheme.titleSmall?.copyWith( color: theme.colorScheme.onSurfaceVariant, ), @@ -134,6 +136,7 @@ class UserBottomSheet extends ConsumerWidget { children: [ Wrap( crossAxisAlignment: .center, + alignment: .center, spacing: 4, runSpacing: 4, children: [ @@ -149,6 +152,7 @@ class UserBottomSheet extends ConsumerWidget { ), Text( pronoun.summary, + textAlign: .center, style: textTheme.titleSmall?.copyWith( color: theme.colorScheme.onSurfaceVariant, ), @@ -169,6 +173,7 @@ class UserBottomSheet extends ConsumerWidget { ), Text( profile.timezone!, + textAlign: .center, style: textTheme.titleSmall?.copyWith( color: theme.colorScheme.onSurfaceVariant, ),