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
style: fix icon buttons are square in different sizes under the default shape #18458
Conversation
Deploy preview for ant-design ready! Built with commit af6b213 |
Codecov Report
@@ Coverage Diff @@
## master #18458 +/- ##
=======================================
Coverage 96.41% 96.41%
=======================================
Files 280 280
Lines 7522 7522
Branches 2089 2092 +3
=======================================
Hits 7252 7252
Misses 268 268
Partials 2 2
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #18458 +/- ##
=======================================
Coverage 96.41% 96.41%
=======================================
Files 280 280
Lines 7522 7522
Branches 2089 2047 -42
=======================================
Hits 7252 7252
Misses 268 268
Partials 2 2
Continue to review full report at Codecov.
|
不需要添加新 shape,icon only 的时候修正为正方形就行。 |
现己更正过来,新的 shape 己移除。 |
🤔 这个变动的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
size="large"
与size="small"
时则高宽一不相等,具体如下。现需要在其在默认形状下不同大小均显示为正方形,可根据icon only标记进行修复。2.使用用式:
<Button type="primary" icon="download" />
。📝 更新日志怎么写?
☑️ 请求合并前的自查清单
View rendered components/button/demo/button-group.md
View rendered components/button/demo/loading.md
View rendered components/button/demo/size.md
View rendered components/button/index.en-US.md
View rendered components/button/index.zh-CN.md