|
@@ -20,7 +20,7 @@ const HeaderTh: FC<Props> = function ({header, useDiv}) {
|
|
|
const isResizing = header.column.getIsResizing();
|
|
|
|
|
|
const style: CSSProperties = {
|
|
|
- width: header.getSize(),
|
|
|
+ width: `${header.getSize()}px !important`,
|
|
|
cursor: isResizing ? 'col-resize' : fixed ? 'auto' : 'move',
|
|
|
boxShadow: useDiv
|
|
|
? '0.5px 0.6px 12.3px rgba(0, 0, 0, 0.059),4px 5px 80px rgba(0, 0, 0, 0.1)'
|
|
@@ -40,14 +40,6 @@ const HeaderTh: FC<Props> = function ({header, useDiv}) {
|
|
|
{header.isPlaceholder
|
|
|
? null
|
|
|
: flexRender(header.column.columnDef.header, header.getContext())}
|
|
|
-
|
|
|
- <div
|
|
|
- onMouseDown={header.getResizeHandler()}
|
|
|
- onPointerDown={e => e.stopPropagation()}
|
|
|
- className={classNames(css.resizer, {
|
|
|
- [css.resizing]: header.column.getIsResizing(),
|
|
|
- })}
|
|
|
- />
|
|
|
</div>
|
|
|
);
|
|
|
}
|