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: style bug in dark mode #1287

Closed
wants to merge 6 commits into from
Closed

fix: style bug in dark mode #1287

wants to merge 6 commits into from

Conversation

kiner-tang
Copy link
Member

[中文版模板 / Chinese template]

💡 Background and solution

🔗 Related issue link

fix #1286

Copy link

changeset-bot bot commented Dec 21, 2024

⚠️ No Changeset found

Latest commit: 085f3a2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Dec 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ant-design-web3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 21, 2024 3:33am

Copy link

github-actions bot commented Dec 21, 2024

Preview is ready

Copy link

codecov bot commented Dec 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.99%. Comparing base (b0250a0) to head (085f3a2).
Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1287   +/-   ##
=======================================
  Coverage   99.99%   99.99%           
=======================================
  Files         858      858           
  Lines       14726    14726           
  Branches     1589     1589           
=======================================
  Hits        14725    14725           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kiner-tang
Copy link
Member Author

kiner-tang commented Dec 21, 2024

有点奇怪,本地运行时正常的,但预览的时候就是有问题的
本地:
image
预览:
image
怀疑会不会是 ssr 的问题

@kiner-tang
Copy link
Member Author

有点奇怪,本地运行时正常的,但预览的时候就是有问题的 本地: image 预览: image 怀疑会不会是 ssr 的问题

好像还不是 ssr 的问题,是因为我们正式环境进行文档构建时:

{
     "scripts": {
          "build:docs": "pnpm i [email protected] [email protected] -w && dumi build",
     }
}

使用的是 [email protected] 版本的,我试了一下,只要装了这个版本的 react, 就是不是 ssr 也一样有问题

@yutingzhao1991
Copy link
Collaborator

我在 #1300 这里处理了

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.

[Bug] style bug in dark mode
2 participants