-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
fix: fix the ellipsis bug for pre element #48968
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #48968 Failed ❌
Check Full Report for details If you think the visual diff is acceptable, please check:
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #48968 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 745 745
Lines 12976 12976
Branches 3400 3400
=========================================
Hits 12976 12976 ☔ View full report in Codecov by Sentry. |
After fixed: Typography.-.Ant.Design.2.-.-.Microsoft.Edge.2024-05-19.01-01-32.mp4 |
* fix: fix Checkbox.Group type * fix: fix Checkbox.Group type * fix: fix Checkbox.Group type * fix: remove type * fix: any
* docs: 5.17.4 changelog * docs: more
Co-authored-by: liangchaofei <liangchaofei@liangchaofeideMacBook-Pro.local>
* docs: add getValueProps demo * feat: normalize * feat: normalize * feat: name * feat: name * feat: doc * feat: date * feat: tz * feat: tz
* docs(FAQ): Remove expired links * chore: adjusting update * chore: adjusting update
Signed-off-by: JeevaRamanathan <64531160+JeevaRamanathan@users.noreply.github.com>
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
* fix: Tour onClose wrong current argument * test: add test case * Update components/tour/panelRender.tsx Signed-off-by: afc163 <afc163@gmail.com> --------- Signed-off-by: afc163 <afc163@gmail.com>
* chore: rollback ci * test: one day
Co-authored-by: 吴必炫 <wubixuan@rlink.com>
…t-design#49136) Co-authored-by: dengxia <dengxia@tanqingsk.com>
…0.0 (ant-design#49142) Bumps [@types/react-highlight-words](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-highlight-words) from 0.16.7 to 0.20.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-highlight-words) --- updated-dependencies: - dependency-name: "@types/react-highlight-words" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update index.zh-CN.md Signed-off-by: LemonTency <120943952@qq.com> * Update index.zh-CN.md Signed-off-by: LemonTency <120943952@qq.com> --------- Signed-off-by: LemonTency <120943952@qq.com>
Hi @nova1751. Thanks for your contribution. The path |
Oops, I rebase the master branch, which cause the PR to be closed forcely. |
Seems the branch has been removed? I can not reopen the PR. |
Sorry for the misoperation, I opened a new one. See #49168. |
中文版模板 / Chinese template
🤔 This is a ...
🔗 Related issue link
close #48953
💡 Background and solution
The css property
white-space: normal
will cause the\n
to not work inpre
tag when the text is used asMeasureText
. Removing it may be a good solution.🤔📝 Changelog
Typography
component doesn't work normally inpre
tagTypography
组件的ellipsis
选项在pre
标签中没有正常工作的问题☑️ Self-Check before Merge