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: prevent several text lines by using nowrap instead of pre #1233

Merged
merged 17 commits into from Apr 24, 2023

Conversation

johanlahti
Copy link
Contributor

@johanlahti johanlahti commented Apr 21, 2023

Motivation

white-space: pre was used to prevent white space when highlighting text. Changing this to nowrap doesn't seem to create any problems anymore, since this component has been refactored after pre was introduced.

After (with search):

image

After (text with line breaks):

image

Requirements checklist

  • Api specification
    • Ran yarn spec
      • No changes OR API changes has been formally approved
  • Unit/Component test coverage
  • Correct PR title for the changes (fix, chore, feat)

When build and tests have passed:

  • Add code reviewers, for example @qlik-oss/nebula-core

@johanlahti johanlahti marked this pull request as ready for review April 21, 2023 15:10
@quanho quanho requested review from quanho and T-Wizard April 24, 2023 07:27
@veinfors veinfors changed the title fix(QB-19066): prevent several text lines by using nowrap instead of pre fix: prevent several text lines by using nowrap instead of pre Apr 24, 2023
@johanlahti johanlahti merged commit 5643362 into master Apr 24, 2023
6 of 8 checks passed
@johanlahti johanlahti deleted the fix/QB-19066 branch April 24, 2023 11:19
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.

None yet

3 participants