diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index 4f6aa67b..8b77325f 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -822,8 +822,11 @@ class _VideoDetailPageState extends State ], ); } - final double videoWidth = + double videoWidth = max(context.height / context.width * 1.04, 1 / 2) * context.width; + if (context.width >= 560) { + videoWidth = min(videoWidth, context.width - 280); + } final double videoHeight = videoWidth * 9 / 16; return Row( children: [