mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
fix(mobile): duration ui overflow (#14120)
* fix(mobile): duration ui overflow * pr feedback
This commit is contained in:
parent
4ca27a3e7f
commit
3dad19883d
@ -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 New Issue
Block a user