diff --git a/lib/core/widgets/app_glow_panel.dart b/lib/core/widgets/app_glow_panel.dart index e92533d..25f3b4d 100644 --- a/lib/core/widgets/app_glow_panel.dart +++ b/lib/core/widgets/app_glow_panel.dart @@ -96,8 +96,10 @@ class AppGlowDialog extends StatelessWidget { ], if (content != null) Text(content!, style: bodyStyle) - else - ?contentChild, + else if (contentChild != null) + // 必须给富内容一个有界高度,否则内部 SingleChildScrollView 拿到无界 + // 约束会直接撑高整块内容(长文本小屏下溢出且无法滚动)。 + Flexible(child: contentChild!), if (actions != null && actions!.isNotEmpty) ...[ const SizedBox(height: 18), Row(