Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(charts): tooltip whitespace is not preserved for Safari#10355

Merged
tlabaj merged 1 commit intopatternfly:mainfrom
dlabrecq:whitespace
May 14, 2024
Merged

fix(charts): tooltip whitespace is not preserved for Safari#10355
tlabaj merged 1 commit intopatternfly:mainfrom
dlabrecq:whitespace

Conversation

Copy link
Member

dlabrecq commented May 13, 2024 *
edited
Loading

Preserve tooltip whitespace for Safari

Closes #10354

Copy link
Collaborator

patternfly-build commented May 13, 2024 *
edited
Loading

gitdallas approved these changes May 13, 2024
const spacer = 'x';
const getSpacing = (legendLabel: string, textLabel: string) => {
let spacing = '';
let spacing = '\u00A0';
Copy link
Contributor

gitdallas May 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a note that this is a non-breaking space

Copy link
Member Author

dlabrecq May 13, 2024 *
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's what I want. Cannot use   here as the tooltip is also SVG.

tlabaj approved these changes May 14, 2024
tlabaj merged commit 13a5093 into patternfly:main May 14, 2024
Copy link
Collaborator

patternfly-build commented May 14, 2024

Your changes have been released in:

  • @patternfly/react-charts@7.4.0-prerelease.6
  • @patternfly/react-docs@6.4.0-prerelease.16

Thanks for your contribution!

dlabrecq deleted the whitespace branch May 16, 2024 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

tlabaj tlabaj approved these changes

+1 more reviewer

gitdallas gitdallas approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Bug - Charts - tooltip whitespace not preserved for Safari

4 participants