Design: 파일 목록 최대 높이 변경, 디자인 수정

This commit is contained in:
홍창기 2024-09-30 04:01:43 +09:00
parent c945f0029d
commit 6ca60921aa
No known key found for this signature in database
GPG Key ID: 9FF142041B4A91B9
2 changed files with 8 additions and 8 deletions

View File

@ -113,11 +113,11 @@ export default function ImageUploadFolderForm({
</div>
)}
{files.length > 0 && (
<ul className="m-0 max-h-[200px] list-none overflow-y-auto p-0">
<ul className="m-0 max-h-[260px] list-none overflow-y-auto p-0">
{files.map((file, index) => (
<li
key={index}
className={cn('flex items-center justify-between p-1')}
className="flex items-center justify-between p-1"
>
<span className="truncate">{file.webkitRelativePath || file.name}</span>
{isUploading ? (
@ -125,19 +125,19 @@ export default function ImageUploadFolderForm({
{isUploaded ? (
<CircleCheckBig
className="stroke-green-500"
size={20}
size={16}
strokeWidth="2"
/>
) : isFailed ? (
<CircleX
className="stroke-red-500"
size={20}
size={16}
strokeWidth="2"
/>
) : (
<CircleDashed
className="stroke-gray-500"
size={20}
size={16}
strokeWidth="2"
/>
)}

View File

@ -123,19 +123,19 @@ export default function ImageUploadZipForm({
{isUploaded ? (
<CircleCheckBig
className="stroke-green-500"
size={20}
size={16}
strokeWidth="2"
/>
) : isFailed ? (
<CircleX
className="stroke-red-500"
size={20}
size={16}
strokeWidth="2"
/>
) : (
<CircleDashed
className="stroke-gray-500"
size={20}
size={16}
strokeWidth="2"
/>
)}