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

Typography的ellipsis在高分辨率屏下显示异常 #30426

Closed
1 task done
huajiayi opened this issue May 7, 2021 · 4 comments · Fixed by #31449
Closed
1 task done

Typography的ellipsis在高分辨率屏下显示异常 #30426

huajiayi opened this issue May 7, 2021 · 4 comments · Fixed by #31449

Comments

@huajiayi
Copy link

huajiayi commented May 7, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://ant.design/components/typography-cn/#components-typography-demo-ellipsis

Steps to reproduce

在2k屏下,查看设置了ellipsis的Text部分(系统分辨率为2560*1440)

What is expected?

Text只在一行显示,不换行

What is actually happening?

Text显示了两行

Environment Info
antd 4.15.4
React 17.0.0
System Windows 10
Browser Chrome 89.0.4389.128(正式版本)(64 位)
@xrkffgg
Copy link
Member

xrkffgg commented May 7, 2021

第一个例子吗?

@huajiayi
Copy link
Author

huajiayi commented May 7, 2021

第一个例子吗?

是的,省略号的Text部分

@xrkffgg
Copy link
Member

xrkffgg commented May 7, 2021

我这里看着是正常的

@afc163
Copy link
Member

afc163 commented May 7, 2021

Duplicate of #19219

@afc163 afc163 marked this as a duplicate of #19219 May 7, 2021
@afc163 afc163 closed this as completed May 7, 2021
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

Successfully merging a pull request may close this issue.

3 participants