mirror of
https://github.com/flutter/samples.git
synced 2026-03-22 04:17:50 +00:00
Don't overflow cards text (#261)
This commit is contained in:
@@ -771,13 +771,13 @@ class _CarouselCard extends StatelessWidget {
|
||||
title,
|
||||
style: textTheme.caption.apply(color: textColor),
|
||||
maxLines: 3,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
overflow: TextOverflow.visible,
|
||||
),
|
||||
Text(
|
||||
subtitle,
|
||||
style: textTheme.overline.apply(color: textColor),
|
||||
maxLines: 5,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
overflow: TextOverflow.visible,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user