Fix layout

This commit is contained in:
2025-01-23 23:23:18 +08:00
parent 23205c518d
commit de51b66d39
3 changed files with 16 additions and 10 deletions

View File

@@ -356,14 +356,13 @@ class ComicTile extends StatelessWidget {
),
Padding(
padding: const EdgeInsets.fromLTRB(4, 4, 4, 0),
child: TextScroll(
child: Text(
comic.title.replaceAll('\n', ''),
mode: TextScrollMode.endless,
maxLines: 1,
overflow: TextOverflow.clip,
style: const TextStyle(
fontWeight: FontWeight.w500,
),
delayBefore: Duration(milliseconds: 500),
velocity: const Velocity(pixelsPerSecond: Offset(40, 0)),
),
),
],