mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
Merge pull request #536 from ant-design/feature-calendar
add header select minWidth style
This commit is contained in:
commit
ed42d597e9
@ -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`}
|
||||
|
Loading…
Reference in New Issue
Block a user