fix: adjust action button layout for better alignment

This commit is contained in:
idubnori
2025-12-17 14:56:59 +09:00
parent e49239e7e9
commit 6b4cc4e65e

View File

@@ -86,7 +86,11 @@ class ViewerBottomBar extends ConsumerWidget {
children: [ children: [
if (asset.isVideo) const VideoControls(), if (asset.isVideo) const VideoControls(),
if (!isReadonlyModeEnabled) if (!isReadonlyModeEnabled)
Row(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: actions), Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
crossAxisAlignment: CrossAxisAlignment.start,
children: actions.map((action) => Expanded(child: action)).toList(),
),
], ],
), ),
), ),