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

feat: add max-width and adjust styling of tooltip image and description text #2115

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

joewoodson
Copy link
Contributor

Tooltips with long, single word (with dashes or underscores) titles look strange when the template preview image is shown. (See the image below for an example from Superheroes).
This PR fixes the issue by adding a max-width, and setting the image to full width. It also includes an update to truncate the description lines (in this case Brand, Project, etc.) as requested by our team's designer.

Before:
Screenshot 2024-11-26 at 11 20 23

After:
Screenshot 2024-11-26 at 11 24 16

@joewoodson joewoodson self-assigned this Nov 26, 2024
@joewoodson joewoodson requested a review from a team as a code owner November 26, 2024 10:24
Copy link

changeset-bot bot commented Nov 26, 2024

🦋 Changeset detected

Latest commit: 51fac3a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@frontify/fondue-charts Patch
@frontify/fondue Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Nov 26, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-11-26 14:08 UTC

@SamuelAlev SamuelAlev merged commit fd1da3c into main Nov 26, 2024
18 checks passed
@SamuelAlev SamuelAlev deleted the feat/tooltip-image-styling branch November 26, 2024 14:07
Copy link
Contributor

Lead time: 3 hours, 51 minutes, 9 seconds (3.85 total hours) from first commit to close.
Review time: 3 hours, 43 minutes (3.72 total hours) from ready for review to close.

  • First commit: 26.11.2024, 11:16:47.
  • Ready for review: 26.11.2024, 11:24:56.
  • Closed: 26.11.2024, 15:07:56.

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.

3 participants