mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 动态移除最大行数限制
This commit is contained in:
@@ -191,13 +191,16 @@ class _ContentState extends State<Content> {
|
||||
/// fix 默认20px高度
|
||||
style: const TextStyle(height: 0),
|
||||
richNode(widget.item, context),
|
||||
maxLines: widget.source == 'detail' ? 999 : 3,
|
||||
// maxLines: widget.source == 'detail' ? 999 : 3,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
),
|
||||
if (hasPics) ...[
|
||||
Text.rich(picsNodes()),
|
||||
Text.rich(
|
||||
picsNodes(),
|
||||
semanticsLabel: '动态图片',
|
||||
),
|
||||
]
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user