File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/frontend/src/pages/FinancePage/ReimbursementRequestDetailPage Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -330,8 +330,8 @@ const ReimbursementRequestDetailsView: React.FC<ReimbursementRequestDetailsViewP
330330 { reimbursementRequest . receiptPictures . map ( ( receipt ) => {
331331 return (
332332 < Box sx = { { display : 'flex' , justifyContent : 'space-between' , alignItems : 'center' } } >
333- < Link href = { imageFileUrl ( receipt . googleFileId ) } target = "_blank" underline = "hover" sx = { { mr : 1 , fontSize : 30 } } >
334- { receipt . name }
333+ < Link href = { imageFileUrl ( receipt . googleFileId ) } target = "_blank" underline = "hover" sx = { { mr : 1 , fontSize : 20 } } >
334+ { receipt . name . length > 20 ? receipt . name . slice ( 0 , 30 ) + '...' : receipt . name }
335335 </ Link >
336336 < IconButton href = { imageDownloadUrl ( receipt . googleFileId ) } >
337337 < DownloadIcon sx = { { fontSize : 30 } } />
@@ -573,7 +573,7 @@ const ReimbursementRequestDetailsView: React.FC<ReimbursementRequestDetailsViewP
573573 } }
574574 />
575575 < Box sx = { { display : 'flex' , alignItems : 'flex-start' } } >
576- < Box sx = { { width : '900px' , mt : - 3 , maxWidth : 400 } } >
576+ < Box sx = { { mt : - 3 } } >
577577 < ReimbursementRequestTimeline
578578 reimbursementRequestId = { reimbursementRequest . reimbursementRequestId }
579579 reimbursementRequestComments = { reimbursementRequest . comments }
You can’t perform that action at this time.
0 commit comments