From 62e78d48533eaab87f3e676ababa625787e71edc Mon Sep 17 00:00:00 2001 From: alkaitagi Date: Mon, 1 Nov 2021 16:43:42 +0300 Subject: [PATCH] Fix hit tile alt form size --- lib/dictionary/hit_tile.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/dictionary/hit_tile.dart b/lib/dictionary/hit_tile.dart index 07b04923..5d156ecd 100644 --- a/lib/dictionary/hit_tile.dart +++ b/lib/dictionary/hit_tile.dart @@ -70,16 +70,15 @@ class HitTile extends StatelessWidget { style: theme.subtitle1?.copyWith( fontWeight: FontWeight.w500, ), - maxLines: 1, ), if (hit.form != null && hit.form != hit.headword) ...[ const SizedBox(width: 4), Text( capitalize(hit.form!), - style: TextStyle( + style: theme.subtitle1?.copyWith( + fontWeight: FontWeight.w500, color: theme.caption?.color, ), - maxLines: 1, ), ], const Spacer(),