diff --git a/firka/lib/helpers/ui/common_bottom_sheets.dart b/firka/lib/helpers/ui/common_bottom_sheets.dart index 745bf88..36af852 100644 --- a/firka/lib/helpers/ui/common_bottom_sheets.dart +++ b/firka/lib/helpers/ui/common_bottom_sheets.dart @@ -34,10 +34,6 @@ Future showLessonBottomSheet( enableDrag: true, backgroundColor: Colors.transparent, barrierColor: appStyle.colors.a15p, - constraints: BoxConstraints( - maxHeight: MediaQuery.of(context).size.height * - (statsForNerdsEnabled ? 0.35 : 0.3), - ), builder: (BuildContext context) { Widget statsForNerds = SizedBox(); @@ -70,9 +66,10 @@ Future showLessonBottomSheet( 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: [