fix: increase tap target sizes to be more reasonable
This commit is contained in:
parent
3ad68594e2
commit
c463f02a77
|
@ -66,8 +66,9 @@ class _MainLayoutState extends State<MainLayout> {
|
|||
}
|
||||
},
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(vertical: 5, horizontal: 20),
|
||||
padding: const EdgeInsets.symmetric(vertical: 3, horizontal: 20),
|
||||
child: SalomonBottomBar(
|
||||
itemPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
|
||||
items: <SalomonBottomBarItem>[
|
||||
SalomonBottomBarItem(
|
||||
icon: const Icon(FlutterRemix.home_line),
|
||||
|
|
|
@ -31,8 +31,9 @@ class HeaderWidget extends StatelessWidget {
|
|||
if (link != null)
|
||||
GestureDetector(
|
||||
onTap: () => context.router.navigate(link!.href),
|
||||
behavior: HitTestBehavior.translucent,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(4),
|
||||
padding: const EdgeInsets.all(6),
|
||||
child: Text(
|
||||
link!.text,
|
||||
style: furmanTextStyle(const TextStyle(
|
||||
|
|
Loading…
Reference in New Issue