Merge pull request #536 from ant-design/feature-calendar

add header select minWidth style
This commit is contained in:
afc163 2015-11-16 15:10:58 +08:00
commit ed42d597e9

View File

@ -21,6 +21,7 @@ class Header extends Component {
style={{ width: 75 }}
size={ fullscreen ? null : 'small' }
dropdownMatchSelectWidth={false}
dropdownMenuStyle={{ minWidth: 103 }}
className={`${prefixCls}-year-select`}
onChange={this.onYearChange.bind(this)}
value={String(year)}>
@ -41,6 +42,7 @@ class Header extends Component {
return (
<Select
style={{ width: 70 }}
dropdownMenuStyle={{ minWidth: 100 }}
size={ fullscreen ? null : 'small' }
dropdownMatchSelectWidth={false}
className={`${prefixCls}-month-select`}