opt: ugcSeason intro scrollable

This commit is contained in:
guozhigq
2024-12-03 23:41:24 +08:00
parent 973a61c54a
commit c9883fc10f

View File

@ -766,10 +766,15 @@ class UgcSeasonBuild extends StatelessWidget {
], ],
), ),
if (ugcSeason.intro != null && ugcSeason.intro != '') ...[ if (ugcSeason.intro != null && ugcSeason.intro != '') ...[
const SizedBox(height: 4), const SizedBox(height: 6),
Text( Container(
ugcSeason.intro!, constraints: const BoxConstraints(maxHeight: 100),
style: TextStyle(color: outline, fontSize: 12), child: SingleChildScrollView(
child: Text(
ugcSeason.intro!,
style: TextStyle(color: outline, fontSize: 12),
),
),
), ),
], ],
const SizedBox(height: 4), const SizedBox(height: 4),