Skip to content

fix(#252): add responsive padding to portfolio for mobile - #336

Open
laurentketterle-hub wants to merge 1 commit into
Heliobond:mainfrom
laurentketterle-hub:fix/issue-252-mobile-scroll
Open

fix(#252): add responsive padding to portfolio for mobile#336
laurentketterle-hub wants to merge 1 commit into
Heliobond:mainfrom
laurentketterle-hub:fix/issue-252-mobile-scroll

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Fixes #252

Reduces horizontal padding on the portfolio page for mobile screens to prevent horizontal overflow.

Changes

  • Extracted portfolio padding into .hb-portfolio-main CSS class
  • Added @media (max-width: 640px) breakpoint that reduces padding from 32px to 16px and vertical padding from 48px/80px to 24px/64px

Before

Hardcoded padding: 48px 32px 80px on both <main> elements

After

Responsive padding that adapts to screen width

Move portfolio padding to a CSS class with a mobile breakpoint
(640px) that reduces horizontal padding from 32px to 16px.
Prevents horizontal overflow on small screens.
@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

@laurentketterle-hub is attempting to deploy a commit to the David Dada's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

bug: Horizontal scroll needed to see full amount + currency on mobile — poor UX

1 participant