You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix mobile responsive issues across all landing page components
Comprehensive mobile optimization for screens from 320px to 768px:
**HeroCodePreview:**
- Reduced terminal title margin from 4rem to 2rem to prevent layout issues
- Added horizontal overflow handling for code blocks
- Added 768px breakpoint: smaller fonts, reduced padding
- Added 480px breakpoint: compact terminal header, smaller buttons (10px)
**CodeShowcase:**
- Added horizontal padding to section (4rem 1rem)
- Enabled smooth scrolling for tabs on mobile (-webkit-overflow-scrolling)
- Made tabs scrollable on mobile (nowrap at 768px)
- Added 480px breakpoint: compact layout, equal-width tabs, smaller fonts
- Added overflow-x handling for code blocks
**FeatureGrid:**
- Added horizontal padding to prevent edge-to-edge layout
- Enhanced 768px breakpoint with better spacing
- Added 480px breakpoint: reduced padding, smaller fonts, compact cards
**QuickStartSteps:**
- Added section padding for better mobile layout
- Enhanced 768px breakpoint: smaller copy button, better spacing
- Improved 480px breakpoint: more compact design, smaller fonts/spacing
**GitHubStats:**
- Added 480px breakpoint for ultra-small screens
- Reduced stat sizes and gaps for better mobile display
**Landing Page (index.tsx):**
- Improved badge wrapping with flex alignment
- Added max-width to badge images to prevent overflow
- Enhanced 480px breakpoint: reduced padding/gaps throughout
- Smaller badge images (18px) on tiny screens
All components now render properly on mobile devices without:
- Horizontal overflow
- Text too large for viewport
- Buttons/tabs too small to tap
- Excessive padding wasting screen space
0 commit comments