-
-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
The new version of the icon filled mode is ugly #12053
Comments
Has anyone followed up on this issue? |
We should enlarge 3.9 icons as 3.8's for compatibility. |
@afc163 |
Just Try ot make icon size same as previous version. |
Modifying the viewBox will make the code very bloated, because in order to pass the viewBox property, either use a custom component or children, but no matter which method I choose, I need to import @ant-design/icons, which is not Is it equivalent to rebuilding a Icon component? |
@Hughen This change only impact the offical icons in |
What problem does this feature solve?
Before 3.9, the size of the actual content area of the icon is larger than the current icon. The advantage of this is that under the small size icon application scene, such as 15x15, you can see at a glance what the icon wants to express, but from This was not the case at the beginning of 3.9, and it did not take into account the small size.
I said that I am very sad.
v3.9.1: https://codesandbox.io/s/8pl7vj0np2
v3.8.4: https://codesandbox.io/s/zqzo1prom3
What does the proposed API look like?
Icon actual content area size is larger
The text was updated successfully, but these errors were encountered: