diff --git a/src/app/globals.css b/src/app/globals.css index 8c771fd..d6fbc9f 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -644,16 +644,18 @@ .swipe-container { display: flex; overflow-x: auto; + overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; gap: 1.25rem; - padding: 1rem 0 2.5rem; + padding: 0.5rem 0 1.5rem; margin: 0 -1rem; padding-left: 1.5rem; padding-right: 1.5rem; + overscroll-behavior-x: contain; } .swipe-container::-webkit-scrollbar { @@ -661,7 +663,9 @@ } .swipe-item { - flex: 0 0 88vw; + flex: 0 0 calc(100vw - 3rem); + width: calc(100vw - 3rem); scroll-snap-align: center; + height: fit-content; } } \ No newline at end of file diff --git a/src/components/Dashboard.tsx b/src/components/Dashboard.tsx index 8e2e3bf..c9c07cc 100644 --- a/src/components/Dashboard.tsx +++ b/src/components/Dashboard.tsx @@ -240,11 +240,11 @@ export function Dashboard({ user }: DashboardProps) {
-
+
{preferences && ( <> {/* Floating Log Button */} -
+
{/* Dashboard Sections */} -
- {/* Mobile Navigation Buttons */} +
+ {/* Mobile Navigation Buttons - LARGE */}
{currentPage > 0 && ( )} {currentPage < 3 && ( )}
diff --git a/src/components/UserHeader.tsx b/src/components/UserHeader.tsx index 6b2d09a..2329d63 100644 --- a/src/components/UserHeader.tsx +++ b/src/components/UserHeader.tsx @@ -250,15 +250,14 @@ export function UserHeader({ user, preferences }: UserHeaderProps) { {/* CENTER: Title and Welcome Message */}

handleNavigate('/')} style={{ - background: theme === 'light' - ? 'linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%)' - : 'linear-gradient(135deg, #a78bfa 0%, #f472b6 100%)', - WebkitBackgroundClip: 'text', - WebkitTextFillColor: 'transparent', - backgroundClip: 'text', filter: theme === 'dark' ? 'drop-shadow(0 0 10px rgba(167, 139, 250, 0.3))' : 'none' }} >