Rebuild CSS so the tooltip's w-max takes effect - #67
Merged
Conversation
d4443e7 switched the tooltip card to w-max max-w-56 but did not regenerate assets/popui.css, so .w-max never existed in the compiled stylesheet. Without width:max-content the absolutely positioned card shrink-wrapped against the tiny trigger wrapper and collapsed to one word per line. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
✅ Deploy Preview for popui-go ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
mariocnovoa
approved these changes
Sep 1, 2026
Contributor
Author
|
@copilot resolve the merge conflicts in this pull request |
# Conflicts: # assets/popui.css Co-authored-by: methodofaction <51445+methodofaction@users.noreply.github.com>
Contributor
Resolved. I merged |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tooltips were collapsing to one word per line (a tall, skinny pill) whenever the content was more than a couple of words.
Root cause: d4443e7 ("Let the tooltip card hug short content") switched the tooltip card from a fixed
w-56tow-max max-w-56, but only regenerated the templ files —assets/popui.csswas never rebuilt, so.w-maxdidn't exist in the compiled stylesheet. Withoutwidth: max-content, the absolutely positioned card shrink-wrapped against its tiny trigger wrapper and collapsed to min-content.Fix: rebuild the compiled CSS (
go generate ./...). The only change is the missing.w-max{width:max-content}rule. No template changes.Behavior after the fix (measured on the docs site)
max-w-56) and wraps normallyNotes for reviewers
The process gap here was skipping step 3 of the repo workflow in CLAUDE.md: when a templ change introduces new utility classes, the checked-in
assets/popui.cssmust be regenerated in the same commit.🤖 Generated with Claude Code