Skip to content

fix: dead sections and unresponsive mobile section padding#19

Merged
enricopiovesan merged 1 commit into
mainfrom
fix/dead-sections-and-mobile-padding
Jul 9, 2026
Merged

fix: dead sections and unresponsive mobile section padding#19
enricopiovesan merged 1 commit into
mainfrom
fix/dead-sections-and-mobile-padding

Conversation

@enricopiovesan

Copy link
Copy Markdown
Collaborator

Summary

  • Removed a leftover empty section (pure dead padding, no content) from solutions/fintech.astro and solutions/ai-companies.astro — a carryover from the original HTML→Astro conversion
  • .section (112px) and .page-hero (80px/64px) padding never reduced on mobile anywhere in the codebase — added a max-width: 768px override bringing these down to 56px / 48px-40px

Test plan

  • Verified via computed getComputedStyle() at a 390px viewport: .page-hero padding 80px/64px → 48px/40px, .section padding 112px → 56px
  • Confirmed both dead sections removed from build output
  • Spot check solutions/fintech.html and solutions/ai-companies.html render without a content gap

🤖 Generated with Claude Code

…ding

- Removed a leftover empty <section class="section-sm"> (no content, pure
  dead padding) from solutions/fintech.astro and solutions/ai-companies.astro,
  a carryover from the original HTML->Astro conversion.
- .section (112px) and .page-hero (80px/64px) padding never reduced on
  mobile anywhere in the codebase, wasting over half a screen height in
  pure padding on a 390px viewport before any content. Added a
  max-width:768px override bringing .section to 56px, .section-sm to
  40px, and .page-hero to 48px/40px.

Verified via computed styles at a 390px viewport (not screenshots --
the preview screenshot tool was caught rendering misleading output
earlier in this session; computed getComputedStyle() values are the
reliable check here).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@enricopiovesan enricopiovesan merged commit c0fa41d into main Jul 9, 2026
2 checks passed
@enricopiovesan enricopiovesan deleted the fix/dead-sections-and-mobile-padding branch July 9, 2026 04:03
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.

1 participant