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(block): Ensure description has correct line-height #6723
fix(block): Ensure description has correct line-height #6723
Conversation
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.
💥
@SkyeSeitz @ashetland - please check these Chromatic changes - https://www.chromatic.com/pullrequest?appId=6266d45509d7eb004aa254fb&number=6723&activeElementId=comparison-test-key-636c55c5698b291127b1a60d-1200&view=changes - this update adjusts by a few pixels. Based on the original issue, this is an expected change with this update, but want to confirm. |
Merging as Chromatic changes have been approved - note - there are slight px adjustment as a result. |
Related Issue: #6443
Summary
The previous Tailwind text declaration wasn't setting a line-height, meaning the description could unintentionally inherit line-height from a parent container. This wasn't affecting the
collapsible
block as the rendered button has additional style set that prevents the issue.