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

[Bug] token theme affects modal style #1118

Open
LCJove opened this issue Aug 28, 2024 · 1 comment
Open

[Bug] token theme affects modal style #1118

LCJove opened this issue Aug 28, 2024 · 1 comment

Comments

@LCJove
Copy link
Collaborator

LCJove commented Aug 28, 2024

What happens?

在项目中如果设置了ant 的 token,会影响到 modal 组件的展示。有点奇怪的地方在于我没有在 token 中设置 padding 相关的 token,但是 modal 的 padding 却发生了变化。

追踪了一下, token 里面的 wireframe: true 会导致 padding 变化

How To Reproduce

https://codesandbox.io/p/sandbox/happy-wescoff-3n3qz5?file=%2FApp.tsx%3A80%2C15

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

Context

  • Ant Design Web3 Version:
  • Node Version:
  • Platform:
@yutingzhao1991
Copy link
Collaborator

image

看了一下 wireframe 代表线框化,可以研究下线框化应该是什么样的,看看我们要怎么调整才能适配好这个 wireframe

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

No branches or pull requests

2 participants