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

Chips with figure as avatar will not show the avatar if its content is long #506

Closed
zwz opened this issue Sep 20, 2018 · 1 comment
Closed

Comments

@zwz
Copy link

zwz commented Sep 20, 2018

Take the example from the doc, while make the content long enough.
You can see that the avatar width is zero.

<div class="chip">
                  <figure class="avatar avatar-sm" data-initial="TS" style="background-color: #5755d9;"></figure>blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
                </div>

I also tried adding text-clip, but it does not help.

@zwz
Copy link
Author

zwz commented Sep 21, 2018

image
This is the effect when I set the column width to 66px on the doc of chips.
It is quite interesting that the img avatar works while figure one does not.

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

2 participants