-
-
Notifications
You must be signed in to change notification settings - Fork 51.6k
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
feat: add padding less variable for Alert #38369
Conversation
🚨 Hi @ImOctopus. Thanks for your contribution, as the 🚨 你好,@ImOctopus。感谢你的贡献,由于 |
components/style/themes/default.less
Outdated
@@ -966,6 +966,8 @@ | |||
@alert-text-color: @text-color; | |||
@alert-close-color: @text-color-secondary; | |||
@alert-close-hover-color: @icon-color-hover; | |||
@alert-padding-vertical: @padding-xs; | |||
@alert-padding-horizontal: 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.
@alert-padding-horizontal: 15px; | |
@alert-padding-horizontal: @padding-sm - 1px; |
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.
ping
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,是不是应该@padding-md - 1px
?
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.
done
Codecov ReportBase: 100.00% // Head: 100.00% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #38369 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 446 446
Lines 8304 8304
Branches 2526 2526
=========================================
Hits 8304 8304 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close: #38346
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge