-
Notifications
You must be signed in to change notification settings - Fork 3
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: call-to-action, accordion, tags, and filter list state styling #380
fix: call-to-action, accordion, tags, and filter list state styling #380
Conversation
Deploy preview for pinecone ready! Built with commit d2374c8 |
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.
@greatislander the issue you observed only happens if you use the debugger. If using keyboard or mouse to activate the various states, the top-border of the item below properly hides. Putting PR back into draft - I found an issue with the mobile view on Filter List that needs to be fixed. |
@jhung It happens for me during regular use too. |
@jhung Will you have any capacity to wrap this up on Monday? Would like to get these styles into a release. |
hey @jhung, a few things come up for me -
Also noticed that in safari, in the resource page, the CTA text is black instead of white: |
@jhung The filter list form needs a |
@cherylhjli - fixed the CTA issue and the checkbox borders not appearing correctly. There's another issue with the Archive filter list - all the child filter items are all showing up as "checkbox". This will be looked at in a different PR. |
@jhung the CTA looks great, the checkboxes are still disappearing for me? |
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.
This looks great, Jon. Checkboxes are good. Tiny thing - I noticed that the checkboxes in subcategories are not selectable if you click the label, whereas the checkboxes that are on the top level are.
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 missed that issue @cherylhjli identified; I think it should be resolved in this PR. Sorry @jhung. I expect it is related to the "Checkbox" issue.
The IDs were being all set to 'checkbox', so it appeared that the checkboxes were not working. The logic for setting the For now I've worked around the issue by giving values for all children checkboxes. Ideally the ID generation for the checkbox should be less fragile (perhaps using faker or nunjucks random to generate unique IDs where needed). |
I've read the guidelines for Contributing to the Platform Co-op Toolkit
This isn't a duplicate of an existing pull request
Description
This PR addresses a number of styling issues:
Steps to test
Expected behavior:
The focus, hover, and active states should look like the design spec in major current browsers.
Related issues
Fixes #359
Fixes #366
Fixes #362
Fixes #316