Skip to content

Update "ThemedSection" component to responsively reduce vertical padding on smaller screens#534

Merged
brian-montgomery merged 2 commits intomainfrom
alexis/themed-section-padding
Apr 15, 2026
Merged

Update "ThemedSection" component to responsively reduce vertical padding on smaller screens#534
brian-montgomery merged 2 commits intomainfrom
alexis/themed-section-padding

Conversation

@alexisreytech
Copy link
Copy Markdown
Contributor

Apply the responsive sizing pattern established by the existing "ColumnedHero" component that @brian-montgomery had already created. Remove existing optional padding class from "ThemedSection" component to unify the look across the website.

Fixes #531

…ing sizes for smaller screens. Achieve this by applying the pattern established by the existing "ColumnedHero" component. Remove existing optional padding class from "ThemedSection" component to unify the look across the website.
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 7, 2026

Deploy Preview for accessiblecommunity ready!

Name Link
🔨 Latest commit 8ecd307
🔍 Latest deploy log https://app.netlify.com/projects/accessiblecommunity/deploys/69de6f0fafe20b000888d5a1
😎 Deploy Preview https://deploy-preview-534--accessiblecommunity.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

@brian-montgomery brian-montgomery left a comment

Choose a reason for hiding this comment

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

I forgot that bootstrap had those specific sized classes... good job using them.

Just noting that verticalPadding is fairly long to type and, with it being a string array, you don't use it anywhere. Just a note that you want to make things easy to use from the client perspective.

@alexisreytech
Copy link
Copy Markdown
Contributor Author

@brian-montgomery thank you for the feedback. I have now changed the name of the property from "verticalPaddings" to "yPaddings" to shorten it. I was thinking this specific property would not be modified when the component is used, as it would help to maintain a more uniform look.

@brian-montgomery brian-montgomery merged commit 7235f03 into main Apr 15, 2026
9 checks passed
@brian-montgomery brian-montgomery deleted the alexis/themed-section-padding branch April 15, 2026 18:24
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.

Reduce vertical padding on ThemedSection in mobile

2 participants