Revert mistaken removal of rt-resizable-header-content div

This commit is contained in:
Tanner Linsley 2018-04-17 15:14:05 -06:00
parent 9e479e4d4c
commit a1f5b462d5
2 changed files with 10 additions and 4 deletions

View File

@ -340,10 +340,12 @@ export default class ReactTable extends Methods(Lifecycle(Component)) {
}}
{...rest}
>
{_.normalizeComponent(column.Header, {
data: sortedData,
column,
})}
<div className={classnames(isResizable && 'rt-resizable-header-content')}>
{_.normalizeComponent(column.Header, {
data: sortedData,
column,
})}
</div>
{resizer}
</ThComponent>
)

View File

@ -78,6 +78,10 @@ input-select-style()
&:last-child
overflow: hidden
.rt-resizable-header-content
overflow: hidden
text-overflow: ellipsis
.rt-header-pivot
border-right-color: #f7f7f7