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 的 Meta 部分如果文本过长不会自动 ellipsis #8597

Closed
someok opened this Issue Dec 13, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@someok

someok commented Dec 13, 2017

Version

3.0.1

Environment

Mac 10.13.1、Chrome 63.0.3239.84、Firefox 57.0

Reproduction link

https://codesandbox.io/s/v0y8z436l5

Steps to reproduce

<Card title="长文本测试">
      <Meta
        title="长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试"
        description="长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试长文本测试"
      />
</Card>

What is expected?

Meta 的 title 应该自动 ellipsis

What is actually happening?

参见 https://codesandbox.io/s/v0y8z436l5 上的预览区

@ant-design-bot

This comment has been minimized.

ant-design-bot commented Dec 13, 2017

It will be better to write your issue/comment in English, so more people can understand you.
And this means that more people can help you or benefit from your issue/comment.
See: #4897

@someok

This comment has been minimized.

someok commented Dec 13, 2017

上一张图片:

2017-12-14 2 06 38

@afc163 afc163 closed this in 3af6464 Dec 16, 2017

mgrdevport added a commit to mgrdevport/ant-design that referenced this issue Dec 19, 2017

lixiaoyang1992 added a commit to lixiaoyang1992/ant-design that referenced this issue Jan 3, 2018

lixiaoyang1992 added a commit to lixiaoyang1992/ant-design that referenced this issue Jan 3, 2018

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