mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 15:39:45 +08:00
add header select minWidth style
This commit is contained in:
parent
1f000ff9da
commit
37437014ae
@ -21,6 +21,7 @@ class Header extends Component {
|
|||||||
style={{ width: 75 }}
|
style={{ width: 75 }}
|
||||||
size={ fullscreen ? null : 'small' }
|
size={ fullscreen ? null : 'small' }
|
||||||
dropdownMatchSelectWidth={false}
|
dropdownMatchSelectWidth={false}
|
||||||
|
dropdownMenuStyle={{ minWidth: 103 }}
|
||||||
className={`${prefixCls}-year-select`}
|
className={`${prefixCls}-year-select`}
|
||||||
onChange={this.onYearChange.bind(this)}
|
onChange={this.onYearChange.bind(this)}
|
||||||
value={String(year)}>
|
value={String(year)}>
|
||||||
@ -41,6 +42,7 @@ class Header extends Component {
|
|||||||
return (
|
return (
|
||||||
<Select
|
<Select
|
||||||
style={{ width: 70 }}
|
style={{ width: 70 }}
|
||||||
|
dropdownMenuStyle={{ minWidth: 100 }}
|
||||||
size={ fullscreen ? null : 'small' }
|
size={ fullscreen ? null : 'small' }
|
||||||
dropdownMatchSelectWidth={false}
|
dropdownMatchSelectWidth={false}
|
||||||
className={`${prefixCls}-month-select`}
|
className={`${prefixCls}-month-select`}
|
||||||
|
Loading…
Reference in New Issue
Block a user