mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
parent
2a99fe713a
commit
321117c5e8
@ -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;
|
||||
|
||||
&.@{search-prefix}-enter-button > .@{ant-prefix}-input-suffix {
|
||||
right: 0;
|
||||
> * {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
> .@{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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user