fix: FAB button overlaps content and bottom nav on mobile (#162) #170
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Relates to #162
Severity: High
Problem
The floating action button (+) at bottom center on mobile overlaps the "Log Fuel" quick action text on the dashboard and partially obscures the bottom nav labels.
Recommendation
Acceptance Criteria
Implementation Plan (from #162 -- Milestone 6)
Phase: 2 (Navigation cleanup) | Priority: High | Depends on: None | Blocks: None
Context
The floating action button (FAB) overlaps with the bottom navigation labels and dashboard content on mobile, making both hard to tap.
Implementation
1. Raise FAB position in
frontend/src/shared-minimal/components/mobile/BottomNavigation.tsx:bottom: 'calc(64px + env(safe-area-inset-bottom, 0px) - 26px)'-26pxto+4px:bottom: 'calc(64px + env(safe-area-inset-bottom, 0px) + 4px)'2. Increase content bottom padding in
frontend/src/components/Layout.tsx:pb-20topb-24(at ~line 89, mobile layout ONLY)Files
frontend/src/shared-minimal/components/mobile/BottomNavigation.tsxfrontend/src/components/Layout.tsx(mobile content div only)Commit Convention
Test Criteria
Branch
Work on branch
issue-162-ux-design-audit-cleanup(shared with all #162 sub-issues)