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: chart tooltip spacing when using longer names #5353

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Corepex
Copy link
Contributor

@Corepex Corepex commented Oct 13, 2024

Describe the bug

If the name in the tooltip is longer than ~13 chars, the name and the number next to it have no appropriate spacing.

image

or

image

Affected component/components

  • Charts

How to reproduce

Use a longer name in the tooltip

What was done in this PR

Fixed the spacing between tooltip name and number.

With the applied fixes the tooltip looks like this:

image

Fixed spacing between tooltip name and numbers
Copy link

vercel bot commented Oct 13, 2024

@Corepex is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@Corepex Corepex changed the title Fix chart tooltip spacing when using longer names fix: chart tooltip spacing when using longer names Oct 14, 2024
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.

1 participant