imarc / boilerplate

Responsive CSS, HTML and JavaScript front-end starting point, plus components!
https://imarc-boilerplate.netlify.app/
8 stars 10 forks source link

accordion issues #81

Closed marcelmoreau closed 2 years ago

marcelmoreau commented 2 years ago

Original PR: https://github.com/imarc/boilerplate-components/pull/71

Still more to do here:

https://user-images.githubusercontent.com/2116946/178153492-d4d5644f-ac1a-47bd-8045-a20e324ef8df.mp4

accordion

https://user-images.githubusercontent.com/2116946/178153494-0c0eedf5-55f2-4e81-a12a-b09c7654dbf2.mp4

TristanMNorton commented 2 years ago

https://github.com/imarc/boilerplate-components/commit/8b91650cdd2909d09452c3bc875884c6fc93ad02

This commit should have solved the stuttering, you might be looking at an older build.

marcelmoreau commented 2 years ago

I was looking on whatever is deployed to Netlify, which I think is set to be whatever has been committed to next. 8b91650 is older than dc5ba11 which is what is deployed

TristanMNorton commented 2 years ago

Definitely not the latest as it doesn't have the additional wrapping element I added. I'll go through and address the rest of your feedback thought and get it finalized.

TristanMNorton commented 2 years ago

https://next--imarc-boilerplate.netlify.app/pattern-library/components/preview/accordion.html

This one is working. We might have been looking at the wrong one.

TristanMNorton commented 2 years ago

@marcelmoreau Just pushed updates based on the rest of your feedback. The only one I avoided is the extra space at the bottom. I assume whatever RTE/Redactor styles will normalize any spacing issues, and it's probably a separate conversation/PR if we think boilerplate-components should have some default RTE/Redactor mixin.

marcelmoreau commented 2 years ago

Nice looks good, I just made a couple edits: