This repository was archived by the owner on May 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,10 @@ const FileCard: React.FC<FileCardProps> = (props: FileCardProps) => {
4848 marginRight = { majorScale ( 2 ) }
4949 maxWidth = { majorScale ( 40 ) }
5050 width = "100%" >
51- < Flex . Row justifyContent = "flex-start" >
51+ < Flex . Row
52+ justifyContent = "flex-start"
53+ overflow = "hidden"
54+ width = "100%" >
5255 < Flex . Row alignItems = "center" >
5356 < Pane
5457 marginLeft = { majorScale ( 2 ) }
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ interface FileUploaderProps {
2626const acceptedMimeTypes = [ MimeType . mp3 , MimeType . wav ] ;
2727const maxFiles = 10 ;
2828const maxSizeInBytes = 10 * 1024 ** 2 ; // 10 MB
29+ const width = majorScale ( 40 ) ;
2930
3031const FileUploader : React . FC < FileUploaderProps > = (
3132 props : FileUploaderProps
@@ -101,7 +102,7 @@ const FileUploader: React.FC<FileUploaderProps> = (
101102 getAcceptedTypesMessage ( acceptedMimeTypes ) ,
102103 ] . join ( " " ) ;
103104 return (
104- < Pane marginBottom = { majorScale ( 2 ) } maxWidth = { majorScale ( 60 ) } >
105+ < Pane marginBottom = { majorScale ( 2 ) } maxWidth = { width } width = { width } >
105106 < EvergreenFileUploader
106107 acceptedMimeTypes = { acceptedMimeTypes }
107108 description = { description }
You can’t perform that action at this time.
0 commit comments