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

style(descriptions): fix content overflow #27195

Merged
merged 2 commits into from
Oct 16, 2020
Merged

style(descriptions): fix content overflow #27195

merged 2 commits into from
Oct 16, 2020

Conversation

WLyKan
Copy link
Contributor

@WLyKan WLyKan commented Oct 16, 2020

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

Descriptions 组件的内容含有超长数字,会出现无法换行的情况。
image

测试文本:名称【111111111111111111111122222222222222222222222333333333333333333333333333331111111111111111111111222222222222222222222223333333333333333333333333333311111111111111111111112222222222222222222222233333333333333333333333333333】,目标【pneumonoultramicroscopicsilicovolcanoconiosis】,描述【null】

📝 Changelog

Language Changelog
🇺🇸 English fix: ant-descriptions-item-content add style word-break:break-word;
🇨🇳 Chinese 修复Descriptions 组件的内容含有超长数字,会出现无法换行的情况

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

修改顺序
@ant-design-bot
Copy link
Contributor

ant-design-bot commented Oct 16, 2020

@ant-design-bot
Copy link
Contributor

ant-design-bot commented Oct 16, 2020

@codesandbox-ci
Copy link

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.

Latest deployment of this branch, based on commit a339dd3:

Sandbox Source
antd reproduction template Configuration

@codecov
Copy link

codecov bot commented Oct 16, 2020

Codecov Report

Merging #27195 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master    #27195   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          389       389           
  Lines         7393      7393           
  Branches      2070      2070           
=========================================
  Hits          7393      7393           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c72ee71...a339dd3. Read the comment docs.

@hengkx
Copy link
Member

hengkx commented Oct 16, 2020

改了配置吗 这种名称也可以 通过了???

@hengkx hengkx changed the title descriptions 组件的content样式修复 style: fix descriptions 组件的content样式修复 Oct 16, 2020
@kerm1it
Copy link
Member

kerm1it commented Oct 16, 2020

这名称读着咋有点儿绕呢,😂

@kerm1it kerm1it changed the title style: fix descriptions 组件的content样式修复 style(descriptions): fix content overflow Oct 16, 2020
@afc163 afc163 merged commit d4fd8f2 into ant-design:master Oct 16, 2020
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 this pull request may close these issues.

5 participants