From eae17a2f7950adfbc5fa11b649180de62a41ce98 Mon Sep 17 00:00:00 2001 From: orz12 Date: Thu, 29 Feb 2024 20:55:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8A=A8=E6=80=81=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E8=A1=8C=E6=95=B0=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/dynamics/widgets/content_panel.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/pages/dynamics/widgets/content_panel.dart b/lib/pages/dynamics/widgets/content_panel.dart index 47b7203c4..fd5ee235e 100644 --- a/lib/pages/dynamics/widgets/content_panel.dart +++ b/lib/pages/dynamics/widgets/content_panel.dart @@ -191,13 +191,16 @@ class _ContentState extends State { /// 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: '动态图片', + ), ] ], ),