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(tooltip): use max-content width for tooltip content #253

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

Enes5519
Copy link
Contributor

The tooltip shrink without off max-content width. You can see from Stackblitz.

Steps to reproduce:

  1. Create a fixed size div with transform: translateY(1px); style.
  2. Add tooltip inside.

OLD:
image

NEW:
image

@muratcorlu muratcorlu changed the title Tooltip: Add max-content width fix(tooltip): use max-content width for tooltip content Sep 28, 2022
@leventozen leventozen self-requested a review September 28, 2022 09:00
@muratcorlu
Copy link
Contributor

Currently UI tests fails because of an issue on select component that I created a fix with #256. Once it's merged, I expect UI tests will be successful here too.

@sonarcloud
Copy link

sonarcloud bot commented Sep 29, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@muratcorlu muratcorlu merged commit 54ca2c0 into next Sep 29, 2022
@muratcorlu muratcorlu deleted the tooltip-width-max-content branch September 29, 2022 08:52
@github-actions
Copy link

🎉 This PR is included in version 2.0.0-beta.31 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Apr 6, 2023

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants