mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-24 23:52:27 +00:00
Made SpaceSubSpacesDialog
scrollable, for a better UX, and to account for a very long list of subspaces.
This commit is contained in:
@ -89,7 +89,12 @@ class _SpaceSubSpacesDialogState extends State<SpaceSubSpacesDialog> {
|
||||
),
|
||||
child: const SelectableText('Create Sub-Space'),
|
||||
),
|
||||
content: Column(
|
||||
content: ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
maxHeight: context.screenHeight * 0.4,
|
||||
),
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
spacing: 12,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
@ -112,6 +117,8 @@ class _SpaceSubSpacesDialogState extends State<SpaceSubSpacesDialog> {
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
actions: [
|
||||
SpaceDetailsActionButtons(
|
||||
onSave: _hasDuplicateNames ? null : _handleSave,
|
||||
|
Reference in New Issue
Block a user