update select style

This commit is contained in:
afc163 2015-11-05 17:49:47 +08:00
parent 2f18d05759
commit eb7568c8a6
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ function handleChange(value) {
} }
ReactDOM.render( ReactDOM.render(
<Select defaultValue="lucy" style={{width:200}} onChange={handleChange}> <Select defaultValue="lucy" style={{width:120}} onChange={handleChange}>
<Option value="jack">Jack</Option> <Option value="jack">Jack</Option>
<Option value="lucy">Lucy</Option> <Option value="lucy">Lucy</Option>
<Option value="disabled" disabled>Disabled</Option> <Option value="disabled" disabled>Disabled</Option>

View File

@ -19,7 +19,7 @@
position: absolute; position: absolute;
top: 7px; top: 7px;
right: 0; right: 0;
padding-right: 15px; padding-right: 14px;
color: @primary-color; color: @primary-color;
} }
} }