Skip to content

[File-Input] Button size is not fitting the custom label #1082

@GomezIvann

Description

@GomezIvann

Describe the bug
When the prop buttonLabel has as value a string longer than what it can fit, the button doesn't increase its size, it applies a text-overflow. The button seems to have a size="medium" in the code.
The filedrop and dropzone modes work fine, which makes it all the more strange.

Expected behaviour
The upload button should fit its content when mode="file"

Screenshots

image

image

Metadata

Metadata

Labels

epicjiraThis task is referenced in a story of Jirapatch

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions