fix(jobs): Make jobs panel take less space

Closes: #136
pull/157/head
Inex Code 2022-12-31 07:51:47 +03:00
parent 3feb5acf71
commit e2a9493b61
1 changed files with 20 additions and 23 deletions

View File

@ -15,7 +15,7 @@ class BrandBottomSheet extends StatelessWidget {
Widget build(final BuildContext context) {
final double mainHeight = MediaQuery.of(context).size.height -
MediaQuery.of(context).padding.top -
100;
300;
late Widget innerWidget;
if (isExpended) {
innerWidget = Scaffold(
@ -29,9 +29,7 @@ class BrandBottomSheet extends StatelessWidget {
child: IntrinsicHeight(child: child),
);
}
return ConstrainedBox(
constraints: BoxConstraints(maxHeight: mainHeight + 4 + 6),
child: Column(
return Column(
mainAxisSize: MainAxisSize.min,
children: [
Center(
@ -53,7 +51,6 @@ class BrandBottomSheet extends StatelessWidget {
),
),
],
),
);
}
}