From 8d934dd0f85fd4fa4c165e703a7e9e59e17b4e37 Mon Sep 17 00:00:00 2001 From: Armand <4831c0@proton.me> Date: Tue, 16 Sep 2025 21:25:59 +0200 Subject: [PATCH] grade bottom sheet: fix size and padding --- firka/lib/helpers/ui/common_bottom_sheets.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firka/lib/helpers/ui/common_bottom_sheets.dart b/firka/lib/helpers/ui/common_bottom_sheets.dart index 937ddd4..a246f14 100644 --- a/firka/lib/helpers/ui/common_bottom_sheets.dart +++ b/firka/lib/helpers/ui/common_bottom_sheets.dart @@ -182,7 +182,7 @@ Future showGradeBottomSheet( backgroundColor: Colors.transparent, barrierColor: appStyle.colors.a15p, constraints: BoxConstraints( - maxHeight: MediaQuery.of(context).size.height * 0.32, + minHeight: MediaQuery.of(context).size.height * 0.34, ), builder: (BuildContext context) { return Stack( @@ -202,9 +202,10 @@ Future showGradeBottomSheet( borderRadius: BorderRadius.vertical(top: Radius.circular(16)), ), child: Padding( - padding: const EdgeInsets.all(16.0), + padding: const EdgeInsets.all(16) + EdgeInsets.only(bottom: 32), child: Column( crossAxisAlignment: CrossAxisAlignment.start, + mainAxisSize: MainAxisSize.min, children: [ Row( children: [GradeWidget(grade)],