Skip to content

Commit

Permalink
Merge pull request #1486 from ardriveapp/PE-4842
Browse files Browse the repository at this point in the history
PE-4842: wrap text on details panel when values are huge
  • Loading branch information
thiagocarvalhodev authored Nov 29, 2023
2 parents 5d5869d + 7a21f8f commit fa3d56d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/components/details_panel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ class _DetailsPanelState extends State<DetailsPanel> {
DetailsPanelItem(
leading: Text(
widget.item.contentType,
textAlign: TextAlign.right,
style: ArDriveTypography.body.buttonNormalRegular(),
),
itemTitle: appLocalizationsOf(context).fileType,
Expand Down Expand Up @@ -913,7 +914,7 @@ class DetailsPanelItem extends StatelessWidget {
],
),
),
if (leading != null) leading!,
if (leading != null) Flexible(child: leading!),
],
),
),
Expand Down

0 comments on commit fa3d56d

Please sign in to comment.