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

fix(alert): 警告框 demo 的宽度根据屏幕宽度自动撑开 #1658

Merged
merged 1 commit into from
Nov 7, 2022

Conversation

aomnisz
Copy link
Contributor

@aomnisz aomnisz commented Oct 20, 2022

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 新特性提交
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

Tencent/tdesign#253 issue 中的 demo 部分的第一点

💡 需求背景和解决方案

需求背景:见 issue

解决方案:

  1. 经过排查,react 版本和 vue-next 版本的宽度都是正常的,因此只提交了对 vue 版本的修改
  2. react 版本和 vue-next 版本都是在组件里加上 width: 100% ,因此对 vue 版本的修改也是在组件里加上内联css,而不是修改 .t-space (也考虑到修改 .t-space 可能牵扯的范围比较广)

📝 更新日志

  • fix(alert): 警告框 demo 的宽度根据屏幕宽度自动撑开

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@github-actions
Copy link
Contributor

github-actions bot commented Oct 21, 2022

完成

@aomnisz
Copy link
Contributor Author

aomnisz commented Oct 26, 2022

请问这个 test 要怎么通过?

@uyarn
Copy link
Collaborator

uyarn commented Oct 26, 2022

@aomnisz execute npm run test:update

@aomnisz
Copy link
Contributor Author

aomnisz commented Nov 7, 2022

根据 #1687 修改了快照文件,麻烦再看看有没有问题 : )

@xiaosansiji xiaosansiji merged commit 7590879 into Tencent:develop Nov 7, 2022
@aomnisz aomnisz deleted the fix/alert branch November 7, 2022 06:53
@github-actions github-actions bot mentioned this pull request Nov 9, 2022
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.

3 participants