diff --git a/lib/presentation/home/home_screen.dart b/lib/presentation/home/home_screen.dart index 300b54b..9c2d875 100644 --- a/lib/presentation/home/home_screen.dart +++ b/lib/presentation/home/home_screen.dart @@ -200,8 +200,8 @@ class _HomeScreenState extends State { Container( width: 45.w, child: HikeButton( - buttonWidth: homebwidth - 10, - buttonHeight: homebheight - 2, + buttonWidth: homebwidth , + buttonHeight: homebheight - homebheight / 3, text: 'Create Group', textColor: Colors.white, borderColor: Colors.white, @@ -219,7 +219,7 @@ class _HomeScreenState extends State { width: 45.w, child: HikeButton( buttonWidth: homebwidth, - buttonHeight: homebheight - 2, + buttonHeight: homebheight - homebheight / 3, text: 'Join a Group', textColor: kYellow, borderColor: kYellow, diff --git a/lib/presentation/widgets/hike_button.dart b/lib/presentation/widgets/hike_button.dart index e22a2f3..1a1636a 100644 --- a/lib/presentation/widgets/hike_button.dart +++ b/lib/presentation/widgets/hike_button.dart @@ -38,6 +38,7 @@ class HikeButton extends StatelessWidget { Text( text!, style: TextStyle(color: textColor, fontSize: textSize), + ), ), onPressed: onTap as void Function()?,