make room dialog scrollable

This commit is contained in:
Henry Hiles 2026-08-08 16:21:58 -04:00
commit bf31f5510a
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -40,6 +40,7 @@ class RoomAppbar extends ConsumerWidget implements PreferredSizeWidget {
constraints: .loose(.fromWidth(400)),
child: Padding(
padding: .all(24),
child: SingleChildScrollView(
child: Column(
mainAxisSize: .min,
crossAxisAlignment: .start,
@ -66,7 +67,9 @@ class RoomAppbar extends ConsumerWidget implements PreferredSizeWidget {
room.metadata?.name ?? "Unnamed Room",
overflow: .ellipsis,
maxLines: 3,
style: Theme.of(context).textTheme.headlineSmall,
style: Theme.of(
context,
).textTheme.headlineSmall,
),
),
],
@ -86,6 +89,7 @@ class RoomAppbar extends ConsumerWidget implements PreferredSizeWidget {
),
),
),
),
leading: isDesktop
? room == null
? null