mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 06:31:58 +00:00
fix(mobile): duration ui overflow (#14120)
* fix(mobile): duration ui overflow * pr feedback
This commit is contained in:
parent
4ca27a3e7f
commit
3dad19883d
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue