单元格内容超出列宽时,表头和表体出现错位
This commit is contained in:
parent
9cd84f5381
commit
14103fad2a
|
@ -436,7 +436,7 @@ var TableCell = function (_Component) {
|
||||||
className: className,
|
className: className,
|
||||||
onClick: this.handleClick,
|
onClick: this.handleClick,
|
||||||
title: title,
|
title: title,
|
||||||
style: _extends({ color: fontColor, backgroundColor: bgColor }, column.style)
|
style: _extends({ maxWidth: column.width, color: fontColor, backgroundColor: bgColor }, column.style)
|
||||||
},
|
},
|
||||||
indentText,
|
indentText,
|
||||||
expandIcon,
|
expandIcon,
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -287,7 +287,7 @@ class TableCell extends Component{
|
||||||
className={className}
|
className={className}
|
||||||
onClick={this.handleClick}
|
onClick={this.handleClick}
|
||||||
title={title}
|
title={title}
|
||||||
style={{color:fontColor,backgroundColor:bgColor,...column.style}}
|
style={{maxWidth:column.width, color:fontColor, backgroundColor:bgColor, ...column.style}}
|
||||||
>
|
>
|
||||||
{indentText}
|
{indentText}
|
||||||
{expandIcon}
|
{expandIcon}
|
||||||
|
|
Loading…
Reference in New Issue