diff --git a/lib/components/details_panel.dart b/lib/components/details_panel.dart index fc7619136c..706ac307d1 100644 --- a/lib/components/details_panel.dart +++ b/lib/components/details_panel.dart @@ -658,6 +658,7 @@ class _DetailsPanelState extends State { DetailsPanelItem( leading: Text( widget.item.contentType, + textAlign: TextAlign.right, style: ArDriveTypography.body.buttonNormalRegular(), ), itemTitle: appLocalizationsOf(context).fileType, @@ -913,7 +914,7 @@ class DetailsPanelItem extends StatelessWidget { ], ), ), - if (leading != null) leading!, + if (leading != null) Flexible(child: leading!), ], ), ),