-
Notifications
You must be signed in to change notification settings - Fork 20
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(FInput): 修复复合型输入框样式问题 #867
Conversation
components/input/style/mixin.less
Outdated
@@ -19,25 +19,65 @@ | |||
} | |||
|
|||
.group-append() { | |||
.hidden-left-border(); |
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.
之前命名不规范,可以left统一为prepend, right统一为append
hidden-prepend-border();
components/input/style/mixin.less
Outdated
.group-prepend() { | ||
.hidden-right-border(); |
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.
命名规范
components/input/style/mixin.less
Outdated
div.@{cls-prefix}-select:hover .@{cls-prefix}-select-trigger, | ||
div.@{cls-prefix}-cascader:hover .@{cls-prefix}-select-trigger { | ||
.border-right-pure(); | ||
} | ||
} | ||
|
||
.light-border { |
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.
这里是函数式用法,所以建议加上函数标识,虽然运行是不影响的 .light-border()
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.
这里命名为 hover-light-border()
components/input/style/mixin.less
Outdated
} | ||
} | ||
|
||
.hidden-right-border { |
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.
同上
components/input/style/mixin.less
Outdated
} | ||
} | ||
|
||
.hidden-left-border { |
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.
命名规范同上
components/input/style/mixin.less
Outdated
} | ||
} | ||
|
||
.select-focus-border-light() { |
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.
这里命名为 focus-light-border()
您好,您的邮件我已收到。我将尽快给您回复,谢谢您的来件。
|
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
Related issue (if exists):
Other information: