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

使用 ConfigProvider 修改 Dropdown 下 Button 字体大小不生效 #47554

Closed
wanghui2021 opened this issue Feb 23, 2024 · 5 comments · Fixed by #48893
Closed

使用 ConfigProvider 修改 Dropdown 下 Button 字体大小不生效 #47554

wanghui2021 opened this issue Feb 23, 2024 · 5 comments · Fixed by #48893
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive

Comments

@wanghui2021
Copy link
Contributor

Reproduction link

Edit on CodeSandbox

Steps to reproduce

What is expected?

Button 字体大小为 12

What is actually happening?

Button 字体大小为 14

Environment Info
antd 5.14.1
React react@18.2.0
System macOS 14.3.1
Browser chrome 122.0.6261.57
@afc163
Copy link
Member

afc163 commented Feb 23, 2024

图片

@wanghui2021
Copy link
Contributor Author

可以打开了

@MadCcc
Copy link
Member

MadCcc commented Feb 23, 2024

image
被 Dropdown 样式覆盖

@zombieJ
Copy link
Member

zombieJ commented Feb 23, 2024

这个 reset 看起来位置不太对。

@MadCcc
Copy link
Member

MadCcc commented Feb 26, 2024

这个 reset 看起来位置不太对。

位置是对的,选择器优先级一致,后来居上了

@MadCcc MadCcc added 🐛 Bug Ant Design Team had proved that this is a bug. and removed unconfirmed labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants