mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
docs: optimize slider demo (#22626)
This commit is contained in:
parent
d497c11155
commit
7abe924530
@ -264,7 +264,7 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
|
||||
>
|
||||
<div
|
||||
class="ant-input-number"
|
||||
style="margin-left:16px"
|
||||
style="margin:0 16px"
|
||||
>
|
||||
<div
|
||||
class="ant-input-number-handler-wrap"
|
||||
@ -384,7 +384,7 @@ exports[`renders ./components/slider/demo/input-number.md correctly 1`] = `
|
||||
>
|
||||
<div
|
||||
class="ant-input-number"
|
||||
style="margin-left:16px"
|
||||
style="margin:0 16px"
|
||||
>
|
||||
<div
|
||||
class="ant-input-number-handler-wrap"
|
||||
|
@ -43,7 +43,7 @@ class IntegerStep extends React.Component {
|
||||
<InputNumber
|
||||
min={1}
|
||||
max={20}
|
||||
style={{ marginLeft: 16 }}
|
||||
style={{ margin: '0 16px' }}
|
||||
value={inputValue}
|
||||
onChange={this.onChange}
|
||||
/>
|
||||
@ -84,7 +84,7 @@ class DecimalStep extends React.Component {
|
||||
<InputNumber
|
||||
min={0}
|
||||
max={1}
|
||||
style={{ marginLeft: 16 }}
|
||||
style={{ margin: '0 16px' }}
|
||||
step={0.01}
|
||||
value={inputValue}
|
||||
onChange={this.onChange}
|
||||
|
Loading…
Reference in New Issue
Block a user