Fix some alignment issues

This commit is contained in:
Henry Hiles 2026-05-26 21:56:44 -04:00
commit c6904e9766
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 5 additions and 4 deletions

View file

@ -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"),

View file

@ -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",