forked from Nexus/nexus
make room dialog scrollable
This commit is contained in:
parent
bd185824f9
commit
bf31f5510a
1 changed files with 42 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue