-
-
Notifications
You must be signed in to change notification settings - Fork 47.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 AutoComplete size #4768
fix AutoComplete size #4768
Conversation
RaoHai
commented
Feb 6, 2017
•
edited by afc163
Loading
edited by afc163
- close 升级到2.7后,AutoComplete组件size属性失效。 #4766
- close AutoComplete组件 BUG #4778
45db043
to
d4033f6
Compare
|
||
&-lg { | ||
.@{select-prefix-cls}-selection__placeholder { | ||
top: 16px; |
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.
考虑到可以配置一个 textarea 的情况,不能写 50%,故写像素。下同。
&__placeholder { | ||
margin-left: 8px; | ||
margin-right: 8px; | ||
top: 12px; |
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.
现在的 AutoComplete 默认高度好像不对,只有25px,默认28px才对。
如果高度正确,这里应该是可以 @input-height-base / 2
这样子吧?lg 和 sm 也是类似
&:hover { | ||
.hover; | ||
.@{input-prefix-cls} { | ||
border: 1px solid @border-color-base; |
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.
用这里的变量:#4734
和日期相关的 snapshot test 挂了, @benjycui 看下。 |