Skip to content

Commit fef26fc

Browse files
committed
fix: set maxLines and overflow for announcement banner text
1 parent 37ecd4c commit fef26fc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/features/exchange/ui/widgets/announcement_banner.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ class _AnnouncementItem extends StatelessWidget {
7777
color: isDarkMode
7878
? context.appColors.onSurface
7979
: context.appColors.onSecondary,
80+
maxLines: 1,
81+
overflow: TextOverflow.ellipsis,
8082
),
8183
const Gap(4),
8284
BBText(

0 commit comments

Comments
 (0)