From c6090a307a72c55f4e9b79f65751512e5c01a995 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Sun, 11 Sep 2022 12:41:01 -0400 Subject: [PATCH] Update header widget --- lib/src/widgets/header.dart | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/lib/src/widgets/header.dart b/lib/src/widgets/header.dart index 7a65ab5..f7e15b5 100644 --- a/lib/src/widgets/header.dart +++ b/lib/src/widgets/header.dart @@ -15,7 +15,7 @@ class HeaderWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Container( - padding: const EdgeInsets.only(left: 40, right: 40, top: 20, bottom: 15), + padding: const EdgeInsets.only(left: 40, right: 36, top: 20, bottom: 15), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center, @@ -31,13 +31,16 @@ class HeaderWidget extends StatelessWidget { if (link != null) GestureDetector( onTap: () => context.router.navigate(link!.href), - child: Text( - link!.text, - style: furmanTextStyle(const TextStyle( - color: Color(0xff755898), - fontSize: 12, - fontWeight: FontWeight.bold, - )), + child: Padding( + padding: const EdgeInsets.all(4), + child: Text( + link!.text, + style: furmanTextStyle(const TextStyle( + color: Color(0xff755898), + fontSize: 12, + fontWeight: FontWeight.bold, + )), + ), ), ), ],