🐛 Fix waterfall styling issue

This commit is contained in:
2025-11-17 22:00:45 +08:00
parent 4a800725e3
commit aafd160c44
2 changed files with 6 additions and 2 deletions

View File

@@ -485,7 +485,10 @@ class FileListView extends HookConsumerWidget {
ValueNotifier<String> currentPath,
) {
return Card(
margin: const EdgeInsets.fromLTRB(12, 0, 12, 16),
margin:
viewMode.value == FileListViewMode.waterfall
? const EdgeInsets.fromLTRB(0, 0, 0, 16)
: const EdgeInsets.fromLTRB(12, 0, 12, 16),
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 24, vertical: 48),
child: Column(