-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: consistent spacing between sub-sections, reactify #2955
Conversation
Look at that consistent spacing! What px or em is the spacing set to in this example? |
A gutter of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great cleanup!
PULL REQUEST
Summary
Use a consistent format for accordion sub-sections throughout the ecr viewer.
This PR adds a
AccordionSubSection
component and uses it throughout the viewer to make sure we have consistent spacing, formatting, IDing of sub-sections. This "react-ifies" the code base a bit more. I took some leeway when introducing the sub-component to refactor sections to be a bit more idiomatic React.Related Issue
Fixes #2670
Additional Information
Look at that consistent spacing:
Checklist