files-ui-react icon indicating copy to clipboard operation
files-ui-react copied to clipboard

Create parameter to remove/modify `shrinkWord` method's `DEFAULT_MAX_SIZE_WORD=30`

Open hb-webdev opened this issue 10 months ago • 0 comments

Is your feature request related to a problem? Please describe. Yes, I can't modify the wordShrink function to extend more than 30 characters. Therefore, the filetype field is sometimes gets shortened when it should not. I want it to be a standard text field--no programmatic shrinking....

Describe the solution you'd like Allow a parameter to remove (or adjust) the DEFAULT_MAX_SIZE_WORD in /@files-ui/core/build/utils/shrinkWord.d.ts: https://www.npmjs.com/package/@files-ui/core?activeTab=code

Describe alternatives you've considered Overwrite the filetype text with CSS, dynamic javascript text replacement

Additional context image

image

image

hb-webdev avatar Jan 01 '25 08:01 hb-webdev