🐛 Fix file dashboard icon sometimes overflow
This commit is contained in:
@@ -742,22 +742,25 @@ class FileListView extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
const Gap(16),
|
const Gap(16),
|
||||||
Row(
|
SingleChildScrollView(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
scrollDirection: Axis.horizontal,
|
||||||
children: [
|
child: Row(
|
||||||
ElevatedButton.icon(
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
onPressed: onPickAndUpload,
|
children: [
|
||||||
icon: const Icon(Symbols.upload_file),
|
ElevatedButton.icon(
|
||||||
label: const Text('Upload Files'),
|
onPressed: onPickAndUpload,
|
||||||
),
|
icon: const Icon(Symbols.upload_file),
|
||||||
const Gap(12),
|
label: const Text('Upload Files'),
|
||||||
OutlinedButton.icon(
|
),
|
||||||
onPressed:
|
const Gap(12),
|
||||||
() => onShowCreateDirectory(ref.context, currentPath),
|
OutlinedButton.icon(
|
||||||
icon: const Icon(Symbols.create_new_folder),
|
onPressed:
|
||||||
label: const Text('Create Directory'),
|
() => onShowCreateDirectory(ref.context, currentPath),
|
||||||
),
|
icon: const Icon(Symbols.create_new_folder),
|
||||||
],
|
label: const Text('Create Directory'),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user