Skip to content
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(accordion): simplify header sizing, remove unmanaged custom property #1048

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

Westbrook
Copy link
Contributor

Description

fixes #1033
supersedes #1043

  • simplify calculation of the Accordion heading to rely on %s rather than --spectrum-accordion-item-height-actual
  • remove use of --spectrum-accordion-item-height-actual custom property (which was unmanaged across various scales)

How and where has this been tested?

Screenshots

image
image

To-do list

  • If my change impacts other components, I have tested to make sure they don't break.
  • If my change impacts documentation, I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • This pull request is ready to merge.

@adobe-spectrum-bot
Copy link
Collaborator

Spectrum CSS documentation build successfully! 🎉

View the documentation

@adobe-spectrum-bot
Copy link
Collaborator

VRT successfully! 🎊

View the VRT result

@Westbrook
Copy link
Contributor Author

Was there anything else I could do to this PR to help move it along?

@lazd
Copy link
Member

lazd commented Oct 15, 2020

@Westbrook nope, we just need to get around to it! I added it to our sprint to look at.

Copy link
Member

@lazd lazd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Westbrook can you try it without the fallbacks and see if build output is the same? Thanks!

@adobe-spectrum-bot
Copy link
Collaborator

Spectrum CSS documentation build successfully! 🎉

View the documentation

@adobe-spectrum-bot
Copy link
Collaborator

VRT successfully! 🎊

View the VRT result

@Westbrook
Copy link
Contributor Author

Just realized this was still open. Let me know if there is anything I can do to help move it along.

@lazd lazd merged commit 9b3bf69 into main Nov 12, 2020
@GarthDB GarthDB deleted the westbrook/accordion branch September 30, 2021 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Accordion] Item hight not using a controlled CSS Custom Property
4 participants