-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update to use grid system from USWDS #57
Conversation
9e3c6ba
to
63fc118
Compare
63fc118
to
cf2f3a0
Compare
Adding a couple of Jest tests. |
On Second thoughts, I'm not sure how useful test would be for these classes. They are pretty arbitrary. There is a another piece that I think might warrant it's own ticket: Adding breakpoints as per the the existing site, and ensuring that the container applies those for max-width. Let me know your thoughts @dgading ? And if there are any stones left unturned here? |
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.
If you can just remove the container config and then on each page swap out the dc-page and config.container with the grid-container class. That extra step isn't really saving us anything and just makes it more complicated to possibly change a single page as we could break other pages when messing with config. If we had a lot pages it would make sense, but we only have like 5 pages to deal with.
src/assets/config.json
Outdated
@@ -1,5 +1,5 @@ | |||
{ | |||
"container": "container", | |||
"container": "grid-container", |
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.
I would just remove this line completely. We should move to inline classes to better handle possible one off things.
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.
Looks good!
…swds.