Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Card title and description overflow #2815

Open
ziad-saab opened this issue Oct 8, 2024 · 0 comments
Open

Card title and description overflow #2815

ziad-saab opened this issue Oct 8, 2024 · 0 comments

Comments

@ziad-saab
Copy link
Contributor

The following Custom UI code:

<Card
  title="Card with a very very very very very very very very  long title"
  description="This description is sooooooo long that it overflows the bounds of the window"
  value="Card value"
  extra="Card extra"
/>

Results in the following output:

image

In addition to title and description overflowing, the value and extra strings are presumably pushed all the way to the right and not displayed at all.

If we instead have very long value and/or extra props:

<Card
  title="Card title"
  description="Card description"
  value="This is a very very very very super extra extra long card value"
  extra="This is a very very very very super extra extra long card extra"
/>

The result looks like this:

image

It seems like value and extra are properly overflowed, but there's no spacing between them and their title/description companions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant