Skip to content

Conversation

@timothyylim
Copy link
Collaborator

@timothyylim timothyylim commented Oct 8, 2025

@vercel
Copy link
Contributor

vercel bot commented Oct 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
comps Ready Ready Preview Comment Oct 8, 2025 10:53am
comps-staging2 Ready Ready Preview Comment Oct 8, 2025 10:53am

@timothyylim timothyylim force-pushed the tim/fix-footer-repsonsiveness branch from e4042af to f6d88d9 Compare October 8, 2025 10:45
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2025

📊 Test Coverage Report

Package Lines Statements Functions Branches
apps/api 3.58% 3.58% 43.44% 50.79%
apps/comps 0.00% 0.00% 40.00% 40.00%
packages/conversions 100.00% 100.00% 100.00% 100.00%
packages/db 0.00% 0.00% 16.27% 16.27%
packages/rewards 100.00% 100.00% 100.00% 100.00%
packages/services 39.88% 39.88% 67.22% 79.30%
packages/staking-contracts 100.00% 100.00% 100.00% 100.00%

</a>
))}
<div className="border-y py-10">
<div className="max-w-5xl">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div className="max-w-5xl">
<div className="mx-auto max-w-5xl">

The max-w-5xl container is missing mx-auto to center it horizontally, causing the footer content to be left-aligned instead of centered.

View Details

Analysis

Footer container missing mx-auto centering class

What fails: FooterSection component at line 49 has max-w-5xl without mx-auto, causing left-alignment instead of centering on screens wider than 1024px

How to reproduce:

# View footer on wide screen (>1024px):
pnpm dev --port 3001
# Navigate to any page and scroll to footer

Result: Footer content appears left-aligned on wide screens, creating asymmetrical layout

Expected: Footer should be centered horizontally, matching established pattern used in layout.tsx (mx-auto max-w-screen-lg), chart/page.tsx (mx-auto max-w-7xl), and navbar (mx-auto max-w-screen-lg)

Reference: Tailwind CSS max-width docs confirm max-width utilities require mx-auto for centering

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is intentional to conform to the design

Copy link
Collaborator

@dtbuchholz dtbuchholz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, i dont think this fixed it, but maybe @jovirecall can chime in. do we want the divs to match this? it has larger divs with the logo and text stacked.
Image

existing code:

Image

this PR's changes:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants