Large <Button>
's icon size is incorrect with hashed: false
#47132
Labels
🐛 Bug
Ant Design Team had proved that this is a bug.
Reproduction link
https://stackblitz.com/edit/vitejs-vite-cqpaku?file=src%2FApp.tsx
Steps to reproduce
use
hashed: false
in<ConfigProvider>
.cssVar: true
by itself is totally fine, but as long as you usehashed: off
, the style overwrite is missing.It's recommended by the doc to turn off
hashed
ifcssVar
is on. https://ant.design/docs/react/css-variables-cn#%E5%85%B3%E9%97%AD-hashWhat is expected?
Icon size should be identical to font size.
What is actually happening?
CSS overwrite from
ant-btn-lg
is missingMaybe check for other button size as well, I didn't test small
✅可以使用中文
The text was updated successfully, but these errors were encountered: