@@ -113,7 +111,11 @@ export function FileDropZone({
{files.length > 0 && (
{files.map((att, i) => (
- onFileRemoved(i)} />
+ onFileRemoved(i)}
+ />
))}
)}
@@ -202,7 +204,7 @@ function FileRow({
width: `${attachment.uploadProgress}%`,
backgroundColor: "var(--ctp-mauve)",
borderRadius: 1,
- transition: "width 0.15s",
+ transition: "all 0.15s ease",
}}
/>
@@ -235,7 +237,7 @@ function FileRow({
color: hovered ? "var(--ctp-red)" : "var(--ctp-overlay0)",
padding: "0 0.2rem",
flexShrink: 0,
- transition: "color 0.15s",
+ transition: "all 0.15s ease",
}}
title="Remove"
>