Commit 64395ea0 authored by 满振华's avatar 满振华

修改样式

parent 0f582cc7
...@@ -159,7 +159,7 @@ class SearchView extends React.Component { ...@@ -159,7 +159,7 @@ class SearchView extends React.Component {
return ( return (
<BIDatePicker <BIDatePicker
{...componentAttr} {...componentAttr}
className={className || styles.itemContent} className={classnames(styles.timeStyle, className || styles.itemContent)}
placeholder={placeholder} placeholder={placeholder}
disabled={disabled} disabled={disabled}
/> />
...@@ -169,7 +169,7 @@ class SearchView extends React.Component { ...@@ -169,7 +169,7 @@ class SearchView extends React.Component {
<BIDatePicker <BIDatePicker
{...componentAttr} {...componentAttr}
placeholder={placeholder} placeholder={placeholder}
className={className || styles.itemContent} className={classnames(styles.timeStyle, className || styles.itemContent)}
showTime showTime
disabled={disabled} disabled={disabled}
/> />
...@@ -180,7 +180,7 @@ class SearchView extends React.Component { ...@@ -180,7 +180,7 @@ class SearchView extends React.Component {
{...componentAttr} {...componentAttr}
placeholder={placeholder} placeholder={placeholder}
onCalendarChange={this.changeRange.bind(this, col.key)} onCalendarChange={this.changeRange.bind(this, col.key)}
className={className || styles.itemContent} className={classnames(styles.timeStyle, className || styles.itemContent)}
disabled={disabled} disabled={disabled}
/> />
); );
...@@ -191,7 +191,7 @@ class SearchView extends React.Component { ...@@ -191,7 +191,7 @@ class SearchView extends React.Component {
placeholder={placeholder} placeholder={placeholder}
onCalendarChange={this.changeRange.bind(this, col.key)} onCalendarChange={this.changeRange.bind(this, col.key)}
showTime showTime
className={className || styles.itemContent} className={classnames(styles.timeStyle, className || styles.itemContent)}
disabled={disabled} disabled={disabled}
/> />
); );
......
...@@ -101,4 +101,7 @@ ...@@ -101,4 +101,7 @@
:global .ant-form-item-control{ :global .ant-form-item-control{
line-height: 1.2; line-height: 1.2;
} }
}
.timeStyle{
max-width: 320px;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment