Fix some alignment issues
This commit is contained in:
parent
e5b7512e79
commit
c6904e9766
2 changed files with 5 additions and 4 deletions
|
|
@ -28,7 +28,6 @@ class MemberList extends HookConsumerWidget {
|
||||||
return Drawer(
|
return Drawer(
|
||||||
shape: Border(),
|
shape: Border(),
|
||||||
child: Column(
|
child: Column(
|
||||||
spacing: 8,
|
|
||||||
children: [
|
children: [
|
||||||
AppBar(
|
AppBar(
|
||||||
scrolledUnderElevation: 0,
|
scrolledUnderElevation: 0,
|
||||||
|
|
@ -44,9 +43,10 @@ class MemberList extends HookConsumerWidget {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Row(
|
Wrap(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
alignment: WrapAlignment.center,
|
||||||
spacing: 8,
|
spacing: 8,
|
||||||
|
runSpacing: 8,
|
||||||
children: [
|
children: [
|
||||||
FilterChip(
|
FilterChip(
|
||||||
label: Text("Joined"),
|
label: Text("Joined"),
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,6 @@ class UserPopover extends ConsumerWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Column(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
|
||||||
children: [
|
children: [
|
||||||
SelectableText(
|
SelectableText(
|
||||||
member.displayName ?? userId.localpart,
|
member.displayName ?? userId.localpart,
|
||||||
|
|
@ -127,7 +126,9 @@ class UserPopover extends ConsumerWidget {
|
||||||
.betterWhen(
|
.betterWhen(
|
||||||
loading: SizedBox.shrink,
|
loading: SizedBox.shrink,
|
||||||
data: (profile) => Wrap(
|
data: (profile) => Wrap(
|
||||||
|
alignment: WrapAlignment.center,
|
||||||
spacing: 4,
|
spacing: 4,
|
||||||
|
runSpacing: 4,
|
||||||
children: [
|
children: [
|
||||||
for (final pronoun in profile.pronouns.where(
|
for (final pronoun in profile.pronouns.where(
|
||||||
(pronoun) => pronoun.language == "en",
|
(pronoun) => pronoun.language == "en",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue