agent-native icon indicating copy to clipboard operation
agent-native copied to clipboard

Fix kit name truncation in library selector

Open SajalChaplot opened this issue 4 months ago • 4 comments

Summary

Updates the library kit selector label styling so the full kit name is shown instead of being cut off.

Problem

The kit name displayed in the LibraryKitSelector trigger was constrained to a fixed max width and truncated with an ellipsis, causing longer kit names to be cut off and not fully readable.

Solution

Removed the max-width truncation constraint on the label and allowed the text to wrap instead of truncating.

Key Changes

  • In templates/assets/app/routes/library.tsx, replaced the max-w-[min(48rem,calc(100vw-7rem))] truncate sm:max-w-none classes on the kit name span with break-words, so the full label wraps and remains visible instead of being truncated.

Edit in Builder  Preview


To clone this PR locally use the Github CLI with command gh pr checkout 2205

You can tag me at @builderio for anything you want me to fix or change

SajalChaplot avatar Jul 17 '26 12:07 SajalChaplot

Deploy Preview for agent-native-images ready!

Name Link
Latest commit fe764c6d28f377b049e940cea8e6d58f8358e188
Latest deploy log https://app.netlify.com/projects/agent-native-images/deploys/6a5a1de91fd7390008deb4b1
Deploy Preview https://deploy-preview-2205--agent-native-images.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jul 17 '26 12:07 netlify

Visual recap — skipped (diff too small)

The change in this pull request is too small to be worth a visual recap. This is informational only and does not block the PR.

github-actions[bot] avatar Jul 17 '26 12:07 github-actions[bot]

Deploy Preview for agent-native-brain ready!

Name Link
Latest commit fe764c6d28f377b049e940cea8e6d58f8358e188
Latest deploy log https://app.netlify.com/projects/agent-native-brain/deploys/6a5a1de92b7aa20008655bcd
Deploy Preview https://deploy-preview-2205--agent-native-brain.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jul 17 '26 12:07 netlify

Deploy Preview for agent-native-design ready!

Name Link
Latest commit fe764c6d28f377b049e940cea8e6d58f8358e188
Latest deploy log https://app.netlify.com/projects/agent-native-design/deploys/6a5a1dec6773ce00085da764
Deploy Preview https://deploy-preview-2205--agent-native-design.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify avatar Jul 17 '26 12:07 netlify