fix: InputGroup demo (#7089)

This commit is contained in:
D & R 2017-08-04 21:23:34 +08:00 committed by 偏右
parent 6a17efcbf1
commit 4bfd076cb8

View File

@ -115,7 +115,7 @@ class CompactDemo extends React.Component {
<Option value="2">Except</Option> <Option value="2">Except</Option>
</Select> </Select>
<Input style={{ width: 100, textAlign: 'center' }} placeholder="Minimum" /> <Input style={{ width: 100, textAlign: 'center' }} placeholder="Minimum" />
<Input style={{ width: 24, borderLeft: 0, pointerEvents: 'none' }} placeholder="~" /> <Input style={{ width: 24, borderLeft: 0, pointerEvents: 'none', backgroundColor: '#fff' }} placeholder="~" disabled />
<Input style={{ width: 100, textAlign: 'center', borderLeft: 0 }} placeholder="Maximum" /> <Input style={{ width: 100, textAlign: 'center', borderLeft: 0 }} placeholder="Maximum" />
</InputGroup> </InputGroup>
<br /> <br />