fix: 动态内容长度调整

This commit is contained in:
orz12
2024-03-01 04:27:09 +08:00
parent f5e64436ce
commit 55393935f3

View File

@@ -193,7 +193,7 @@ class _ContentState extends State<Content> {
/// fix 默认20px高度 /// fix 默认20px高度
style: const TextStyle(height: 0), style: const TextStyle(height: 0),
richNode(widget.item, context), richNode(widget.item, context),
// maxLines: widget.source == 'detail' ? 999 : 3, maxLines: 999,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
), ),