Repository navigation
Keep Send/Append Image and the reference pulldown on one row - #431
Merged
Merged
Conversation
In the metadata drawer, Send Image, Append Image and the "as a reference for" pulldown wrapped onto two lines whenever the drawer's 50vw cap was narrower than the row (any window below ~1300px). Above phone widths the row no longer wraps, and the drawer gets min-width: min-content so it grows past 50vw just enough to hold it. Description value cells switch to overflow-wrap: anywhere so long unbroken tokens (e.g. URLs in prompts) can't inflate that min-content; header cells keep break-word so labels don't break mid-word. Phones (<=768px) keep the previous wrapping layout. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
In the metadata drawer, Send Image, Append Image and the "as a reference for" pulldown wrapped onto two lines whenever the drawer's
max-width: 50vwwas narrower than the row (~655px), i.e. in any window narrower than ~1300px.CSS-only fix in
metadata-drawer.css:.banner-drawer-containergetsmin-width: min-content; since min-width beats max-width, the drawer grows past 50vw just enough to hold the row (655px in a 1024px window instead of 512px).#descriptionText tdusesoverflow-wrap: anywhereso a long unbroken token (e.g. a URL in a prompt) can't inflate the drawer's min-content width. Header cells keepbreak-wordso labels like "Model" don't break mid-word.Testing
Measured in the real app with headless Chromium, master vs this branch:
npm run format:checkpasses.🤖 Generated with Claude Code