Skip to content

Improve responsiveness of HeroSection layout and padding - #2

Merged
roble merged 2 commits into
mainfrom
dev
Apr 19, 2026
Merged

Improve responsiveness of HeroSection layout and padding#2
roble merged 2 commits into
mainfrom
dev

Conversation

@roble

@roble roble commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

This pull request makes minor layout adjustments to the HeroSection.vue component to improve padding consistency across different screen sizes.

  • Layout and padding adjustments:
    • The main container's horizontal padding classes (px-12 md:px-16 lg:px-8) were removed, and instead, padding is now applied directly to the inner content container (px-6 md:px-16 lg:px-8).
    • The module cards grid now uses responsive horizontal padding (px-6 sm:px-10 lg:px-20) instead of a fixed px-20, ensuring better spacing on smaller screens.

Copilot AI review requested due to automatic review settings April 19, 2026 16:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the HeroSection.vue layout to make horizontal spacing more consistent and responsive across breakpoints by relocating and adjusting Tailwind padding utilities.

Changes:

  • Removed horizontal padding from the <main> wrapper and applied responsive padding to the inner content container instead.
  • Updated the module cards grid to use responsive horizontal padding (px-6 sm:px-10 lg:px-20) rather than a fixed px-20.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@roble
roble merged commit c509acf into main Apr 19, 2026
5 of 6 checks passed
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.

2 participants