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

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

Card 的 Meta 部分如果文本过长不会自动 ellipsis #8597

someok opened this issue Dec 13, 2017 · 2 comments

Comments

@someok
Copy link

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
Copy link
Contributor

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
Copy link
Author

someok commented Dec 13, 2017

上一张图片:

2017-12-14 2 06 38

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

No branches or pull requests

3 participants