Skip to content

Mult-iline Tooltips#665

Open
Yohn wants to merge 1 commit intopicocss:mainfrom
Yohn:Yohn-Multi-line-Tooltips
Open

Mult-iline Tooltips#665
Yohn wants to merge 1 commit intopicocss:mainfrom
Yohn:Yohn-Multi-line-Tooltips

Conversation

@Yohn
Copy link
Copy Markdown

@Yohn Yohn commented Mar 16, 2025

Max width set to 250px for tooltips.

Max width set to
@feeela
Copy link
Copy Markdown

feeela commented Feb 3, 2026

possible duplicate: #715

Amaury added a commit to Digicreon/muCSS that referenced this pull request Mar 20, 2026
- Add white-space: normal and max-width: 20rem on tooltip pseudo-element.
- Update CLAUDE.md with new PicoCSS override reference.
@Amaury
Copy link
Copy Markdown

Amaury commented Mar 22, 2026

We applied a similar approach in µCSS, but using pre-line instead of normal for white-space. This preserves explicit line breaks (
) while still wrapping long text. We also added width: max-content for more comfortable sizing, capped by max-width: 20rem.

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