Skip to content

Conversation

@Bian-Zhuang
Copy link

What

Fixes an issue where the itemContainer's margin-top style was overridden by .t-form default styles in production builds.

Why

In production, due to CSS load order and specificity, .t-form applies a default margin-top that overrides custom styles set in itemContainer, leading to incorrect layout spacing.

How

Increased the specificity of the selector using :global(.t-form).itemContainer in index.module.less to ensure the intended margin-top is applied.

Notes

  • This change only affects styling on the login page.
  • No functional logic or layout structure was modified.

xucz and others added 30 commits March 3, 2022 20:52
* feat: 代码优化

* fix: fix card title

* fix: fix color
feat: 修复badge,优化树状列表
fix: 修复dev:linux启动错误
1. 修复表单重置失败
2. 更新tdesign版本
* chore(deps): bump axios from 0.21.4 to 0.26.1 (Tencent#54)

Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 0.26.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](axios/axios@v0.21.4...v0.26.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: 修复图表文字重叠, fixes Tencent#50

* fix: loss css token (Tencent#58)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: yuyang <[email protected]>
1. 修复图表文字重叠
2. 升级axios
3. 升级tdesign
4. 解决css丢失问题
1. 搜索框样式优化
2. 文件命名语义化
3. 增加面包屑功能
4. 图表主题功能优化
Bumps [qrcode.react](https://github.com/zpao/qrcode.react) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/zpao/qrcode.react/releases)
- [Changelog](https://github.com/zpao/qrcode.react/blob/main/CHANGELOG.md)
- [Commits](zpao/qrcode.react@v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: qrcode.react
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@Bian-Zhuang
Copy link
Author

@xucz @uyarn
您好,这个 PR 已通过所有检查且无冲突,改动仅影响登录页样式(主要是修复 itemContainer 在生产环境中被 .t-form 默认样式覆盖的问题),目前已准备好合并。麻烦您在方便的时候帮忙确认并合并,非常感谢~ 🙏

Hi, this PR has passed all checks with no conflicts. The changes only affect the login page styles (mainly fixing the issue where itemContainer margin was overridden by .t-form default styles in production). It is now ready to be merged. Kindly help review and merge when convenient. Thank you! 🙏

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.

4 participants