-
Notifications
You must be signed in to change notification settings - Fork 0
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
DS-1933: Removes margins from form web components #9
base: DS-1932/vertical-form-element-spacing
Are you sure you want to change the base?
DS-1933: Removes margins from form web components #9
Conversation
MeaghanCarrieres
commented
Dec 16, 2024
- Removes margins from "ontario-input", "ontario-checkboxes", "ontario-button" and "ontario-textarea" web components
- Removes margins from ontario-input class in text-input component styles in global styles package to target "ontario-date-input" margins
@MeaghanCarrieres Does anything need to be done for |
Hey @matt-stjean! The As for the radio buttons, they don't seem to have any margins on their group, and only on individual radio button items themselves. The margin that is causing the space at the bottom of their grouping is from the |
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.
Thanks for the reply @MeaghanCarrieres, it looks good to me.
Looks like this is what is adding the extra spacing. I think this rule will not be needed with the overall changes to how we handle form spacing as the vertical spacing. I think we should clean this up in this PR as it is relevant to the thematic changes being made. From: .ontario-form-group:last-of-type {
margin-bottom: 2.5rem;
} It seems to also show up in .ontario-form-group:last-of-type {
margin-bottom: 2.5rem;
}
.ontario-form-group:last-of-type {
margin-bottom: spacing.$spacing-8;
} We should figure out what to do with the |
Hey Scott, |
This was the sense I got too a while back, but it needs more detailed exploration to make sure we're not causing carnage by removing it. 🐱 |
I wonder how this |