zombieJ
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
20 additions and
7 deletions
-
components/input/demo/search-input.md
-
components/input/style/search-input.less
|
|
@ -1,8 +1,8 @@ |
|
|
|
--- |
|
|
|
order: 4 |
|
|
|
title: |
|
|
|
zh-CN: 搜索框 |
|
|
|
en-US: Search box |
|
|
|
zh-CN: 搜索框 |
|
|
|
en-US: Search box |
|
|
|
--- |
|
|
|
|
|
|
|
## zh-CN |
|
|
|
|
|
@ -27,11 +27,24 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&.@{search-prefix}-enter-button > .@{ant-prefix}-input { |
|
|
|
padding-right: 46px; |
|
|
|
} |
|
|
|
&.@{search-prefix}-enter-button { |
|
|
|
display: table; |
|
|
|
|
|
|
|
> * { |
|
|
|
display: table-cell; |
|
|
|
} |
|
|
|
|
|
|
|
&.@{search-prefix}-enter-button > .@{ant-prefix}-input-suffix { |
|
|
|
right: 0; |
|
|
|
> .@{ant-prefix}-input { |
|
|
|
.input; |
|
|
|
width: 100%; |
|
|
|
border-top-right-radius: 0; |
|
|
|
border-bottom-right-radius: 0; |
|
|
|
border-right: 0; |
|
|
|
} |
|
|
|
|
|
|
|
> .@{ant-prefix}-input-suffix { |
|
|
|
position: static; |
|
|
|
transform: none; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|