Skip to content

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

Description

@hb-webdev

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions