Skip to content

Commit

Permalink
style: add option truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung committed Mar 14, 2024
1 parent b38ff02 commit b3dac84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ui/view/molecule/upload-pdf/upload-pdf.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function UploadPdf() {
className="relative p-2 m-auto w-96 flex flex-col justify-center items-center gap-2 border-dashed border-2 rounded-sm rounded-bl-xl border-light-blue-6 bg-light-blue-1 text-light-blue-6 max-lg:w-80"
>
<Image src={file ? checkedBox : uploadBox} width={40} height={28} className="mx-auto" alt="upload-button" />
<span className="text-center break-keep whitespace-pre-line max-w-48">
<span className="text-center break-keep whitespace-pre-line max-w-48 truncate">
{file ? file.name : '마우스로 드래그 하거나 아이콘을 눌러 추가해주세요.'}
</span>
<input
Expand Down

0 comments on commit b3dac84

Please sign in to comment.