-
Notifications
You must be signed in to change notification settings - Fork 194
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
[Accordion] Item hight not using a controlled CSS Custom Property #1033
Labels
bug
Results from a bug in the CSS implementation
Comments
Upon closer review, this issue could also be avoided by not relying on this value all together and leveraging the following styles instead:
|
If that fixes the alignment of the icon, I'd accept a PR! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
There is an uncontrolled unit of measure used to calculate the height of the Accordion Header that ends up having the same value for
medium
andlarge
themes. This is indicated in the below CSS samples and in thedist/vars.css
file which lists the value as40px
rather than a derivative of a system wide custom property:Steps to reproduce
Expected behavior
A controlled variable ensures correct delivery across all scales and color sets.
Screenshots
Environment
The text was updated successfully, but these errors were encountered: