fix(theater): 修复新剧卡片与榜单溢出

This commit is contained in:
Zhou Weidong committed 2026-10-26 22:49:13 +08:00
1 parent d4ce3a5d8b
commit 391b01e9d0
3 files changed
+15 -9

No files matched your search

@@ -432,7 +432,7 @@ class _NewReleasesPageState extends State<NewReleasesPage> {
),
),
),
const SizedBox(height: 6),
const SizedBox(height: 4),
Text(
drama.title,
maxLines: 1,
+7 -5
View File
@@ -509,11 +509,13 @@ Widget _heat(int count, AppLocalizations l10n) {
size: 11,
),
const SizedBox(width: 4),
Text(
l10n.heatLabel(formatPlayCount(count)),
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(color: AppColors.textTertiary, fontSize: 11),
Flexible(
child: Text(
l10n.heatLabel(formatPlayCount(count)),
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: const TextStyle(color: AppColors.textTertiary, fontSize: 11),
),
),
],
);