diff --git a/lib/pages/article_info/article_info_page.dart b/lib/pages/article_info/article_info_page.dart index ffcc0d3ed..c851846b4 100644 --- a/lib/pages/article_info/article_info_page.dart +++ b/lib/pages/article_info/article_info_page.dart @@ -549,7 +549,10 @@ class PreviewAreaWidget extends StatelessWidget { controller: null, physics: const ScrollPhysics(), shrinkWrap: true, - crossAxisCount: 3, + crossAxisCount: ((){ + // return 3; + return int.parse('${(int.parse(('${(MediaQuery.of(context).size.width)}'.split('.')[0])) / 200)}'.split('.')[0]); + })(), childAspectRatio: 3 / 4, crossAxisSpacing: 8, mainAxisSpacing: 8,