Skip to content

Button component: Better handling of long labels #65401

Open
@jameskoster

Description

Extracted from #65362.

Currently the Button component used fixed height values to determine size. This can be problematic when the label is long enough to wrap:

Screenshot 2024-09-17 at 13 12 12

Guidelines should instruct consumers to avoid long labels, but sometimes it cannot be avoided e.g. translations.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Design SystemIssues related to the system of combining components according to best practices.Needs DesignNeeds design efforts.[Package] Components/packages/components[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    • Status

      No status
    • Status

      🔦 Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions