diff options
Diffstat (limited to 'frontend/src/components/modals/filepicker/index.tsx')
| -rw-r--r-- | frontend/src/components/modals/filepicker/index.tsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/frontend/src/components/modals/filepicker/index.tsx b/frontend/src/components/modals/filepicker/index.tsx index dcf179a3..ec3fc260 100644 --- a/frontend/src/components/modals/filepicker/index.tsx +++ b/frontend/src/components/modals/filepicker/index.tsx @@ -134,7 +134,15 @@ const FilePicker: FunctionComponent<FilePickerProps> = ({ )} </div> )} - {file.name} + <span + style={{ + textOverflow: 'ellipsis', + overflow: 'hidden', + textAlign: 'left', + }} + > + {file.name} + </span> </div> </DialogButton> ); |
