-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
report: prevent breaking words in opportunity text #14329
Conversation
Separate from the formatting: do we prefer |
we can switch from |
@@ -873,7 +873,6 @@ | |||
|
|||
.lh-audit--load-opportunity .lh-audit__display-text { | |||
text-align: right; | |||
flex: 0 0 calc(3 * var(--report-font-size)); |
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.
This one potentially has the side effect of the right end of spark lines being misaligned between opportunities (without a fixed and reserved space for each) vs. bumping to 4 *
?
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.
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.
Yeah good point, that's probably why this line was here in the first place. Bumping to 4 *
is probably best and then paul's suggestion just so a potential break doesn't happen in the middle of the word.
Fixes #14326