opt: dynamic: content textsize

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-19 14:21:27 +08:00
parent 34961e5475
commit 6eb9ee35cf
3 changed files with 5 additions and 5 deletions

View File

@@ -61,7 +61,10 @@ class Content extends StatelessWidget {
selectionControls: MaterialTextSelectionControls(),
child: Text.rich(
/// fix 默认20px高度
style: const TextStyle(height: 0),
style: const TextStyle(
height: 0,
fontSize: 15,
),
richNode(item, context),
maxLines: source == 'detail' ? 999 : 6,
overflow: TextOverflow.ellipsis,