Fix description overflow

This commit is contained in:
2025-02-11 13:08:24 +08:00
parent 5129530e56
commit 426936082e

View File

@@ -606,6 +606,8 @@ class _ComicDescription extends StatelessWidget {
style: const TextStyle( style: const TextStyle(
fontSize: 12.0, fontSize: 12.0,
), ),
maxLines: 1,
overflow: TextOverflow.ellipsis,
), ),
], ],
), ),
@@ -622,7 +624,8 @@ class _ComicDescription extends StatelessWidget {
"${badge![0].toUpperCase()}${badge!.substring(1).toLowerCase()}", "${badge![0].toUpperCase()}${badge!.substring(1).toLowerCase()}",
style: const TextStyle(fontSize: 12), style: const TextStyle(fontSize: 12),
), ),
)), ),
),
], ],
) )
], ],