mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 16:58:00 +08:00
2bc16980ab
* docs(input): Added Space.Compact recommendations * chore: warning for deprecated --------- Co-authored-by: 二货机器人 <smith3816@gmail.com>
32 lines
801 B
Markdown
32 lines
801 B
Markdown
## zh-CN
|
|
|
|
`Input.Group` 已废弃,可以使用 [Space.Compact](/components/space-cn#spacecompact) 替代 `Input.Group`。
|
|
|
|
## en-US
|
|
|
|
`Input.Group` is deprecated. Can use [Space.Compact](/components/space#spacecompact) substitute for `Input.Group`.
|
|
|
|
```css
|
|
.site-input-group-wrapper .site-input-split {
|
|
background-color: #fff !important;
|
|
}
|
|
|
|
.site-input-group-wrapper .site-input-right {
|
|
border-left-width: 0;
|
|
}
|
|
|
|
.site-input-group-wrapper .site-input-right:hover,
|
|
.site-input-group-wrapper .site-input-right:focus {
|
|
border-left-width: 1px;
|
|
}
|
|
|
|
.site-input-group-wrapper .ant-input-rtl.site-input-right {
|
|
border-right-width: 0;
|
|
}
|
|
|
|
.site-input-group-wrapper .ant-input-rtl.site-input-right:hover,
|
|
.site-input-group-wrapper .ant-input-rtl.site-input-right:focus {
|
|
border-right-width: 1px;
|
|
}
|
|
```
|