Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Contributor checklist:
main
branch.yarn ready
run passes successfully (more about tests here).Description
This commit will truncate long titles of documents in attachment section.
To reproduce, just upload a document with a long title and open attachments, then resize window.
Screenshots
Before
![1](https://private-user-images.githubusercontent.com/70171475/292616466-bc6d9c1c-6192-417d-bb30-ce004f89d467.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk5MTM2NDMsIm5iZiI6MTczOTkxMzM0MywicGF0aCI6Ii83MDE3MTQ3NS8yOTI2MTY0NjYtYmM2ZDljMWMtNjE5Mi00MTdkLWJiMzAtY2UwMDRmODlkNDY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDIxMTU0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1M2Q5MmQ0Njc2NjViZGI3NTM3MGRiN2E0MTE4ZWU3MDEwODQ5ZjBjYjU1ZWRmYTYwMThhZmZmNTY3YmYwYWImWC1BbXotU2lnbmVkSGVh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