Closed plbabin closed 2 years ago
Latest commit: |
7d995e7
|
Status: | ✅ Deploy successful! |
Preview URL: | https://95065468.hsds-react.pages.dev |
@plbabin I actually have a fix for that here: https://github.com/helpscout/hsds-react/pull/1023 :smile: (the solution has been agreed on with Alex)
@plbabin I actually have a fix for that here: #1023 😄 (the solution has been agreed on with Alex)
that's perfect then 😃 , I'll close this PR
Problem
When the variable preview is too long, it stays on the same line, making it impossible to read the fallback content
Fix
We remove the
white-space:nowrap;
and set amin-height
. that way it can span on multiple line if needed. Not the prettiest render since it's an inline node within a paragraph, but we are shooting for usability hereWrite to your heart's content, include:
Guidelines
Make sure the pull request:
proptypes
) Guidelines