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 close padding #24471
fix: alert close padding #24471
Conversation
@AshoneA 下次改的时候,记得改 RTL 鸭 |
components/style/themes/default.less
Outdated
@@ -856,6 +856,8 @@ | |||
@alert-with-description-padding-vertical: @padding-md - 1px; | |||
@alert-with-description-padding: @alert-with-description-padding-vertical 15px | |||
@alert-with-description-no-icon-padding-vertical - 1px 64px; | |||
@alert-with-description-padding-rtl: @alert-with-description-padding-vertical 64px |
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.
不需要这个变量,应该只把 64px 单独提成变量。
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.
上面这个 @alert-with-description-padding
也不好,但是不好改了。
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.
那要去掉 @alert-with-description-padding 这个变量 吗?直接放回 alert/index 里
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.
也别删了,免得 breaking change,直接在这里算。
Codecov Report
@@ Coverage Diff @@
## master #24471 +/- ##
=======================================
Coverage 99.04% 99.04%
=======================================
Files 363 363
Lines 7261 7261
Branches 2009 2009
=======================================
Hits 7192 7192
Misses 69 69 Continue to review full report at Codecov.
|
RTL 只是换成了变量。其实没太大关系。 |
不用管 分支名 |
gotcha! |
[中文版模板 / Chinese template]
@padding-xs
是 8pxpadding
.padding
。