From b408f182ebc84f82b72a45e3dc1a3166ad788437 Mon Sep 17 00:00:00 2001 From: akcauser Date: Wed, 23 Jun 2021 23:29:41 +0300 Subject: [PATCH] new condition added to child aspect ratio to fix overflow for small screen --- lib/screens/dashboard/components/my_fields.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/dashboard/components/my_fields.dart b/lib/screens/dashboard/components/my_fields.dart index 685444f7..c4c7ca39 100644 --- a/lib/screens/dashboard/components/my_fields.dart +++ b/lib/screens/dashboard/components/my_fields.dart @@ -40,7 +40,7 @@ class MyFiles extends StatelessWidget { Responsive( mobile: FileInfoCardGridView( crossAxisCount: _size.width < 650 ? 2 : 4, - childAspectRatio: _size.width < 650 ? 1.3 : 1, + childAspectRatio: _size.width < 650 && _size.width > 350 ? 1.3 : 1, ), tablet: FileInfoCardGridView(), desktop: FileInfoCardGridView(