-
-
Notifications
You must be signed in to change notification settings - Fork 48.8k
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: optimize button loading style in rtl #23776
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
components/button/LoadingIcon.tsx
Outdated
if (existIcon) { | ||
return ( | ||
<span className={`${prefixCls}-loading-icon`}> | ||
<LoadingOutlined /> | ||
<LoadingOutlined style={iconStyle} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Icon 有个 rotate 属性。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我试了,那个是 rotate
,我这里用了 rotateY
加个测试用例。 |
c8692fb
to
76bc6f1
Compare
#23783 这个把 padding 放到里面, 我这就不能用 rotateY 了。 感觉只有 新增一个 loading 逆时针的 icon 才行了啊 |
Codecov Report
@@ Coverage Diff @@
## master #23776 +/- ##
==========================================
- Coverage 98.54% 98.53% -0.01%
==========================================
Files 364 364
Lines 7261 7260 -1
Branches 2022 1975 -47
==========================================
- Hits 7155 7154 -1
Misses 106 106
Continue to review full report at Codecov.
|
de183d7
to
bee533f
Compare
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
补充 #23783
📝 Changelog
☑️ Self Check before Merge