Skip to content

Commit

Permalink
fix: [DX-2181] Fix prefix aspect ratio being wrong (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
witwash authored Sep 16, 2024
1 parent 7b98164 commit 5492fa3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion optimus/lib/src/lists/list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ class _Prefix extends StatelessWidget {
child: OptimusTypography(
color: OptimusTypographyColor.secondary,
resolveStyle: (_) => tokens.bodyMediumStrong,
child: prefix,
child: AspectRatio(
aspectRatio: 1,
child: prefix,
),
),
),
);
Expand Down

0 comments on commit 5492fa3

Please sign in to comment.