mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
* feat(web): add copy button to user messages Add a small copy button to user message bubbles for easy text copying, especially useful on mobile where selecting text is difficult. - Mobile: button always visible (opacity-60) - Desktop: button appears on hover - Uses existing useCopyToClipboard hook with haptic feedback - Conditionally rendered to avoid empty container spacing via [HAPI](https://hapi.run) Co-Authored-By: HAPI <noreply@hapi.run> * fix(web): use valid CSS property in copy button transition transition-[opacity,colors] is invalid because 'colors' is not a CSS property (only Tailwind's utility class 'transition-colors' expands it). Use 'background-color' instead so the hover background transition actually works. via [HAPI](https://hapi.run) Co-Authored-By: HAPI <noreply@hapi.run> --------- Co-authored-by: HAPI <noreply@hapi.run>