fix user sheet on small screens
This commit is contained in:
parent
d46646d781
commit
8cea4b6cf3
1 changed files with 5 additions and 0 deletions
|
|
@ -118,9 +118,11 @@ class UserBottomSheet extends ConsumerWidget {
|
||||||
SelectableText(
|
SelectableText(
|
||||||
member.displayName ?? userId.localpart,
|
member.displayName ?? userId.localpart,
|
||||||
style: textTheme.headlineLarge,
|
style: textTheme.headlineLarge,
|
||||||
|
textAlign: .center,
|
||||||
),
|
),
|
||||||
SelectableText(
|
SelectableText(
|
||||||
userId,
|
userId,
|
||||||
|
textAlign: .center,
|
||||||
style: textTheme.titleSmall?.copyWith(
|
style: textTheme.titleSmall?.copyWith(
|
||||||
color: theme.colorScheme.onSurfaceVariant,
|
color: theme.colorScheme.onSurfaceVariant,
|
||||||
),
|
),
|
||||||
|
|
@ -134,6 +136,7 @@ class UserBottomSheet extends ConsumerWidget {
|
||||||
children: [
|
children: [
|
||||||
Wrap(
|
Wrap(
|
||||||
crossAxisAlignment: .center,
|
crossAxisAlignment: .center,
|
||||||
|
alignment: .center,
|
||||||
spacing: 4,
|
spacing: 4,
|
||||||
runSpacing: 4,
|
runSpacing: 4,
|
||||||
children: [
|
children: [
|
||||||
|
|
@ -149,6 +152,7 @@ class UserBottomSheet extends ConsumerWidget {
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
pronoun.summary,
|
pronoun.summary,
|
||||||
|
textAlign: .center,
|
||||||
style: textTheme.titleSmall?.copyWith(
|
style: textTheme.titleSmall?.copyWith(
|
||||||
color: theme.colorScheme.onSurfaceVariant,
|
color: theme.colorScheme.onSurfaceVariant,
|
||||||
),
|
),
|
||||||
|
|
@ -169,6 +173,7 @@ class UserBottomSheet extends ConsumerWidget {
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
profile.timezone!,
|
profile.timezone!,
|
||||||
|
textAlign: .center,
|
||||||
style: textTheme.titleSmall?.copyWith(
|
style: textTheme.titleSmall?.copyWith(
|
||||||
color: theme.colorScheme.onSurfaceVariant,
|
color: theme.colorScheme.onSurfaceVariant,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue