[go: up one dir, main page]

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

width: max-content and max-width implementation #218

Open
MuhammetDilmac opened this issue Apr 28, 2023 · 1 comment
Open

width: max-content and max-width implementation #218

MuhammetDilmac opened this issue Apr 28, 2023 · 1 comment

Comments

@MuhammetDilmac
Copy link

What do you think about width: max-content and max-width implementation? white-space: nowrap has endless width problem on long text.

See the difference between https://codepen.io/MuhammetDilmac/pen/abRyvBd

@chinchang
Copy link
Owner

Trying to better understand the problem being fixed here...we do have hint-small etc size classes to restrict the size of tooltip. Though these classes fix the width instead of max-width, the issue I see possible here is that we use a size class, the size gets fixed, but the content inside is much smaller than the fixed width. Is there some other issue that I am missing here?

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

No branches or pull requests

2 participants