-
-
Notifications
You must be signed in to change notification settings - Fork 49.2k
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
tweak: DatePicker styling #20736
tweak: DatePicker styling #20736
Conversation
Deploy preview for ant-design ready! Built with commit b546215 |
@@ -229,6 +229,14 @@ | |||
background: @primary-color; | |||
} | |||
|
|||
&-in-view&-range-start:not(&-range-end) .@{cellClassName} { | |||
border-radius: 2px 0 0 2px; |
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.
应该用变量。
6adb5bd
to
8d3637c
Compare
|
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 8d3637c:
|
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 b546215:
|
@@ -12,7 +12,6 @@ | |||
display: inline-block; | |||
text-align: center; | |||
background: @calendar-bg; | |||
border: @border-width-base @border-style-base @picker-border-color; |
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.
Codecov Report
@@ Coverage Diff @@
## master #20736 +/- ##
==========================================
+ Coverage 97.46% 97.47% +<.01%
==========================================
Files 296 296
Lines 6877 6878 +1
Branches 1865 1865
==========================================
+ Hits 6703 6704 +1
Misses 174 174
Continue to review full report at Codecov.
|
@zombieJ cc, footer 没内容时 className 还在,PR react-component/picker#19 |
ci 过了就可以合了 |
Close #20726.
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
🇺🇸English:
-DatePicker
-💄 Optimize the border-radius of the connection and change it to rounded corners.
-🐞 Fix selected style overlap
-🐞 Fix extra dividing line at the bottom
-🌟 Added
@picker-basic-cell-active-with-range-color
and@picker-date-hover-range-color
two Less variables🇨🇳 Chinese:
@picker-basic-cell-active-with-range-color
和@picker-date-hover-range-color
两个 Less 变量☑️ Self Check before Merge