Skip to content

Commit da7c7e3

Browse files
committed
improvement(ui): file upload
1 parent be8f442 commit da7c7e3

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

sim/app/w/[id]/components/workflow-block/components/sub-block/components/file-upload.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export function FileUpload({
486486
data-testid="file-input-element"
487487
/>
488488

489-
<div className="mb-3">
489+
<div>
490490
{/* File list with consistent spacing */}
491491
{(hasFiles || isUploading) && (
492492
<div className="space-y-2">

sim/components/icons.tsx

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ export function AirtableIcon(props: SVGProps<SVGSVGElement>) {
15401540
></path>
15411541
<path
15421542
d="M111.422771,117.65355 L79.742409,132.949912 L2.04568588,67.4384994 C2.53454463,66.9481944 3.08848814,66.5446689 3.66412655,66.2250305 C5.26231864,65.2661153 7.54173107,65.0101153 9.47981017,65.7766689 L110.890522,105.957098 C116.045234,108.002206 116.450206,115.225166 111.422771,117.65355"
1543-
fill-opacity="0.25"
1543+
fillOpacity="0.25"
15441544
fill="#000000"
15451545
></path>
15461546
</g>
@@ -1797,19 +1797,24 @@ export function DocumentIcon(props: SVGProps<SVGSVGElement>) {
17971797
return (
17981798
<svg
17991799
{...props}
1800-
width="20"
1801-
height="24"
1802-
viewBox="0 0 20 24"
1800+
width="23"
1801+
height="28"
1802+
viewBox="0 0 23 28"
18031803
fill="none"
18041804
xmlns="http://www.w3.org/2000/svg"
18051805
>
18061806
<path
1807-
d="M18.5 8.2L11.5 1.2C11.4 1.1 11.3 1.05 11.2 1C11.1 0.95 11 0.92 10.9 0.9C10.85 0.88 10.82 0.85 10.8 0.85H3C1.9 0.85 1 1.75 1 2.85V21.15C1 22.25 1.9 23.15 3 23.15H17C18.1 23.15 19 22.25 19 21.15V8.5C19 8.4 18.95 8.3 18.5 8.2ZM11.5 3.5L16.5 8.5H11.5V3.5ZM3 21.15V2.85H9.5V8.5C9.5 9.05 9.95 9.5 10.5 9.5H17V21.15H3Z"
1808-
fill="currentColor"
1807+
d="M8 15.2H15.2M8 20H11.6M2 4.4V23.6C2 24.2365 2.25286 24.847 2.70294 25.2971C3.15303 25.7471 3.76348 26 4.4 26H18.8C19.4365 26 20.047 25.7471 20.4971 25.2971C20.9471 24.847 21.2 24.2365 21.2 23.6V9.6104C21.2 9.29067 21.136 8.97417 21.012 8.67949C20.8879 8.38481 20.7062 8.11789 20.4776 7.8944L15.1496 2.684C14.7012 2.24559 14.0991 2.00008 13.472 2H4.4C3.76348 2 3.15303 2.25286 2.70294 2.70294C2.25286 3.15303 2 3.76348 2 4.4Z"
1808+
stroke="currentColor"
1809+
strokeWidth="2.25"
1810+
strokeLinecap="round"
1811+
strokeLinejoin="round"
18091812
/>
18101813
<path
1811-
d="M5 12.5H14V13.5H5V12.5ZM5 17.3H14V18.3H5V17.3ZM5 7.5H7V8.5H5V7.5Z"
1812-
fill="currentColor"
1814+
d="M14 2V6.8C14 7.43652 14.2529 8.04697 14.7029 8.49706C15.153 8.94714 15.7635 9.2 16.4 9.2H21.2"
1815+
stroke="currentColor"
1816+
strokeWidth="2.25"
1817+
strokeLinejoin="round"
18131818
/>
18141819
</svg>
18151820
)

0 commit comments

Comments
 (0)