From 989a1d3f8447e4cab3a424063c866b1e2b724515 Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Sun, 1 Feb 2026 12:06:35 -0500 Subject: [PATCH] refactor: update spacing in Find, History, and My Shifts tabs for consistency --- .../staff/shifts/lib/src/presentation/pages/shifts_page.dart | 2 ++ .../lib/src/presentation/widgets/tabs/find_shifts_tab.dart | 2 +- .../lib/src/presentation/widgets/tabs/history_shifts_tab.dart | 2 +- .../shifts/lib/src/presentation/widgets/tabs/my_shifts_tab.dart | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/mobile/packages/features/staff/shifts/lib/src/presentation/pages/shifts_page.dart b/apps/mobile/packages/features/staff/shifts/lib/src/presentation/pages/shifts_page.dart index 1a0dd2a5..5931bdfd 100644 --- a/apps/mobile/packages/features/staff/shifts/lib/src/presentation/pages/shifts_page.dart +++ b/apps/mobile/packages/features/staff/shifts/lib/src/presentation/pages/shifts_page.dart @@ -130,6 +130,8 @@ class _ShiftsPageState extends State { historyShifts, ), ), + + ], ), ); diff --git a/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/find_shifts_tab.dart b/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/find_shifts_tab.dart index 648e9a85..91c28dd5 100644 --- a/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/find_shifts_tab.dart +++ b/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/find_shifts_tab.dart @@ -175,7 +175,7 @@ class _FindShiftsTabState extends State { ), ), ), - const SizedBox(height: 40), + const SizedBox(height: UiConstants.space32), ], ), ), diff --git a/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/history_shifts_tab.dart b/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/history_shifts_tab.dart index b89783ba..951d8fb8 100644 --- a/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/history_shifts_tab.dart +++ b/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/history_shifts_tab.dart @@ -40,7 +40,7 @@ class HistoryShiftsTab extends StatelessWidget { ), ), ), - const SizedBox(height: 40), + const SizedBox(height: UiConstants.space32), ], ), ); diff --git a/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/my_shifts_tab.dart b/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/my_shifts_tab.dart index ef1a5523..653a4a41 100644 --- a/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/my_shifts_tab.dart +++ b/apps/mobile/packages/features/staff/shifts/lib/src/presentation/widgets/tabs/my_shifts_tab.dart @@ -353,7 +353,7 @@ class _MyShiftsTabState extends State { subtitle: "Try finding new jobs in the Find tab", ), - const SizedBox(height: 40), + const SizedBox(height: UiConstants.space32), ], ), ),