Skip to content

Commit

Permalink
fix(mobile): duration ui overflow (immich-app#14120)
Browse files Browse the repository at this point in the history
* fix(mobile): duration ui overflow

* pr feedback
  • Loading branch information
alextran1502 authored and bdavis2-PCTY committed Nov 18, 2024
1 parent 5309ad1 commit 2d6a793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/lib/widgets/asset_viewer/formatted_duration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class FormattedDuration extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SizedBox(
width: data.inHours > 0 ? 64 : 43, // use a fixed width to prevent jitter
width: data.inHours > 0 ? 70 : 60, // use a fixed width to prevent jitter
child: Text(
_formatDuration(data),
style: const TextStyle(
Expand Down

0 comments on commit 2d6a793

Please sign in to comment.