Skip to content

Commit

Permalink
🐛 New document: Fix wrapping long filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn committed May 3, 2024
1 parent f1c16dd commit c99a533
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/pages/new_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,9 @@ export function NewDocumentPage() {
<p className="mx-4 mt-4 text-sm text-neutral-400 font-medium">
Selected file
</p>
<p className="mx-4 break-words flex-grow flex items-center mb-2">
{audioFile?.[0].name}
</p>
<div className="mx-4 flex-grow flex items-center mb-2">
<p className="max-w-full break-words">{audioFile?.[0].name}</p>
</div>
</>
)}
{!audioFile?.[0] && (
Expand Down

0 comments on commit c99a533

Please sign in to comment.