Don't overflow cards text (#261)

pull/264/head
Pierre-Louis 5 years ago committed by GitHub
parent 9f0a977d80
commit 9575601afb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -771,13 +771,13 @@ class _CarouselCard extends StatelessWidget {
title, title,
style: textTheme.caption.apply(color: textColor), style: textTheme.caption.apply(color: textColor),
maxLines: 3, maxLines: 3,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.visible,
), ),
Text( Text(
subtitle, subtitle,
style: textTheme.overline.apply(color: textColor), style: textTheme.overline.apply(color: textColor),
maxLines: 5, maxLines: 5,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.visible,
), ),
], ],
), ),

Loading…
Cancel
Save