-
-
Notifications
You must be signed in to change notification settings - Fork 48.7k
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
fix: alert base rtl style #23714
fix: alert base rtl style #23714
Conversation
@@ -9,6 +9,12 @@ | |||
direction: rtl; | |||
} | |||
|
|||
&&-no-icon { | |||
.@{alert-prefix-cls}-rtl& { | |||
padding: @alert-no-icon-padding-vertical 15px; |
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.
15px 是不是也应该用变量。
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.
OK, 我加一个变量
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.
不是加,是不是应该用已有变量。
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.
看了一下,index.less 中 好几个都直接 使用了固定的 px 。我觉得 这个值 还是暂时不提前到变量了
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.
这个 PR 先不改这个了,不过里面的 37px, 我都不知道 以前 是怎么 给出的 😂😂
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. Latest deployment of this branch, based on commit e326819:
|
/rebase |
cb3ff1f
to
ec1a17f
Compare
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
但未修改测试完整,引起了另一个问题,no-icon 的情况下 多了间隔,这个 PR 补充一下
📝 Changelog
☑️ Self Check before Merge