-
-
Notifications
You must be signed in to change notification settings - Fork 50.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
fix: select 多选时的 padding #20861
fix: select 多选时的 padding #20861
Conversation
Deploy preview for ant-design ready! Built with commit 369d118 |
RTL 的也要改一下 |
在你的 PR 继续改就行了 |
OK |
|
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 369d118:
|
Codecov Report
@@ Coverage Diff @@
## master #20861 +/- ##
=======================================
Coverage 97.47% 97.47%
=======================================
Files 296 296
Lines 6883 6883
Branches 1901 1865 -36
=======================================
Hits 6709 6709
Misses 174 174 Continue to review full report at Codecov.
|
components/select/style/single.less
Outdated
&.@{select-prefix-cls}-show-arrow .@{select-prefix-cls}-selection-search { | ||
right: @input-padding-horizontal-sm + @font-size-base * 1.5; | ||
} | ||
// &.@{select-prefix-cls}-show-arrow .@{select-prefix-cls}-selection-search { |
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.
外层的 ant-select-selection-search
有了left
right
的设置
参照了一下input
的定义
感谢这里并不需要 padding-right
和 right
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.
觉得没用直接去掉即可
😂😂我的锅 |
commit message 和 PR 的标题都尽量写英文吧,这样 commits 里面看着统一一点。 |
你的意思是 英文吧 |
对 😹 |
🤔 This is a ...
🔗 Related issue link
fix #20850
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge