Fix: bottom nav bar overlapping content on detail pages

CatalogDetail, ProgramDetail, ProgramSearch and SupportAdmin all use
inline-styled root divs instead of the .page CSS class, so they were
missing the padding-bottom: 96px that clears the fixed bottom nav bar.
Last button/section was hidden behind the nav.

Adds paddingBottom: 96px to each page's root div. Support.jsx has its
own full-height chat layout and is intentionally left as-is.
This commit is contained in:
claude 2026-04-09 16:02:21 +00:00
parent dddd308ff7
commit 087b91bc42
4 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ export default function CatalogDetail() {
const groupedWorkouts = groupByWeek(program.workouts)
return (
<div style={{ padding: '1rem', maxWidth: '600px', margin: '0 auto' }}>
<div style={{ padding: '1rem', paddingBottom: '96px', maxWidth: '600px', margin: '0 auto' }}>
{/* Back */}
<button onClick={() => navigate('/programs')} style={{
background: 'transparent', color: 'var(--text-3)', padding: '8px 0',