From da771e89e410500c532df47c86ae18e2650f3d7f Mon Sep 17 00:00:00 2001 From: ethan Date: Thu, 13 Nov 2025 15:18:49 +1100 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=A4=96=20feat:=20enhance=20image=20de?= =?UTF-8?q?lete=20button=20styling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make the delete button more visually prominent with: - Visible white border around the circular button - Red background on hover for clearer delete affordance - Scale up animation on hover for better interactivity - Stronger contrast with semi-transparent black background - Bold X character for improved readability - Added aria-label for accessibility _Generated with `cmux`_ --- bun.lock | 1 + src/components/ImageAttachments.tsx | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bun.lock b/bun.lock index 29f3f6229..60af5ca48 100644 --- a/bun.lock +++ b/bun.lock @@ -1,5 +1,6 @@ { "lockfileVersion": 1, + "configVersion": 0, "workspaces": { "": { "name": "mux", diff --git a/src/components/ImageAttachments.tsx b/src/components/ImageAttachments.tsx index 2f2c75ab7..e9de81501 100644 --- a/src/components/ImageAttachments.tsx +++ b/src/components/ImageAttachments.tsx @@ -19,13 +19,14 @@ export const ImageAttachments: React.FC = ({ images, onRe {images.map((image) => (
Attached image From af1a5cc866aa7a41bc57a3652f3ba2410b84ff4d Mon Sep 17 00:00:00 2001 From: ethan Date: Thu, 13 Nov 2025 15:21:02 +1100 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=A4=96=20fix:=20make=20image=20delete?= =?UTF-8?q?=20button=20always=20visible=20with=20red=20background?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous button was too subtle and hard to see. Now it: - Always visible (red background, not just on hover) - Larger (6x6 instead of 5x5) - Solid white border (2px) for strong contrast - Drop shadow for depth - Red background that darkens on hover _Generated with `cmux`_ --- src/components/ImageAttachments.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ImageAttachments.tsx b/src/components/ImageAttachments.tsx index e9de81501..742290b66 100644 --- a/src/components/ImageAttachments.tsx +++ b/src/components/ImageAttachments.tsx @@ -25,7 +25,7 @@ export const ImageAttachments: React.FC = ({ images, onRe