fix range picker style

This commit is contained in:
afc163 2016-09-29 12:20:21 +08:00
parent a6131e65f5
commit 2875d024f9
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ function onChange(dates, dateStrings) {
console.log('From: ', dateStrings[0], ', to: ', dateStrings[1]); console.log('From: ', dateStrings[0], ', to: ', dateStrings[1]);
} }
ReactDOM.render(<div> ReactDOM.render(<div>
<RangePicker style={{ width: 184 }} onChange={onChange} /> <RangePicker style={{ width: 200 }} onChange={onChange} />
<br /> <br />
<RangePicker showTime format="YYYY/MM/DD HH:mm:ss" onChange={onChange} /> <RangePicker showTime format="YYYY/MM/DD HH:mm:ss" onChange={onChange} />
</div>, mountNode); </div>, mountNode);

View File

@ -75,11 +75,11 @@
} }
&.@{calendar-prefix-cls}-time &-middle { &.@{calendar-prefix-cls}-time &-middle {
margin-left: -29px; margin-left: -12px;
} }
&.@{calendar-prefix-cls}-time &-right .@{calendar-prefix-cls}-date-input-wrap { &.@{calendar-prefix-cls}-time &-right .@{calendar-prefix-cls}-date-input-wrap {
margin-left: -15px; margin-left: 0;
} }
.@{calendar-prefix-cls}-input-wrap { .@{calendar-prefix-cls}-input-wrap {