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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwOTcwMjIsIm5iZiI6MTcyNjA5NjcyMiwicGF0aCI6Ii83MDE3MTQ3NS8yOTI2MTY0NjYtYmM2ZDljMWMtNjE5Mi00MTdkLWJiMzAtY2UwMDRmODlkNDY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDIzMTg0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgyY2Q4NjdjYTM0YzQ4YzhmMDEzMWQ1N2JmMjczOGVkNjU3YWMyYzY3NmM0ZDQ5MmFhNzJiZmI4NWU3Y2FhYTYmWC1BbXotU2lnbmVkS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