Skip to content

[Bug] token theme affects modal style #1118

Open
@LCJove

Description

@LCJove

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:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdevelopment taskDevelopment tasks that can be completed within one day

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions