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(
|
child: Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 5, horizontal: 20),
|
padding: const EdgeInsets.symmetric(vertical: 3, horizontal: 20),
|
||||||
child: SalomonBottomBar(
|
child: SalomonBottomBar(
|
||||||
|
itemPadding: const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
|
||||||
items: <SalomonBottomBarItem>[
|
items: <SalomonBottomBarItem>[
|
||||||
SalomonBottomBarItem(
|
SalomonBottomBarItem(
|
||||||
icon: const Icon(FlutterRemix.home_line),
|
icon: const Icon(FlutterRemix.home_line),
|
||||||
|
|
|
@ -31,8 +31,9 @@ class HeaderWidget extends StatelessWidget {
|
||||||
if (link != null)
|
if (link != null)
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () => context.router.navigate(link!.href),
|
onTap: () => context.router.navigate(link!.href),
|
||||||
|
behavior: HitTestBehavior.translucent,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(4),
|
padding: const EdgeInsets.all(6),
|
||||||
child: Text(
|
child: Text(
|
||||||
link!.text,
|
link!.text,
|
||||||
style: furmanTextStyle(const TextStyle(
|
style: furmanTextStyle(const TextStyle(
|
||||||
|
|
Loading…
Reference in New Issue