Skip to content

Conversation

@chaxus
Copy link
Contributor

@chaxus chaxus commented Nov 25, 2025

Description

This PR improves the prompt-input component's image preview with three key fixes:

Changes

  1. Fixed hover cursor - Added cursor-pointer for better interactivity feedback
  2. Unified alignment - Made all image previews left-aligned (was inconsistent before)
  3. Mobile improvements - Fixed cutoff issues and added proper spacing on small screens

Visual Changes

Desktop Before Desktop After
Inconsistent alignment & layout jumps Consistent left alignment & stable layout
Before After
Mobile Before Mobile After
Content cut off, no padding Proper truncation with spacing
Mobile Before Mobile After

Thanks to the code reviewers! Looking forward to making ai-elements even better.

@vercel
Copy link
Contributor

vercel bot commented Nov 25, 2025

@chaxus is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@chaxus chaxus changed the title fix(prompt-input): adjust image preview hover state and alignment in … fix(prompt-input): Adjust image preview hover state and alignment in input head Nov 25, 2025
@haydenbleasel
Copy link
Member

On a roll @chaxus! Thanks 🚢

@haydenbleasel haydenbleasel merged commit 68bc484 into vercel:main Nov 26, 2025
5 of 7 checks passed
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.

2 participants