data-table-material
Version:
A dynamic and customizable table component for React, built with Material UI & TypeScript.
31 lines (27 loc) • 473 B
CSS
.column {
position: relative;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.resizer {
position: absolute;
right: 0;
top: 50%;
height: 40%;
transform: translateY(-50%);
width: 3px;
background: #eef2f6;
cursor: col-resize;
user-select: none;
touch-action: none;
border-radius: 10px;
}
/* .resizer:hover,
.resizer:active {
width: 4px;
background: inherit;
} */
/* .MuiTableCell-head {
padding: 10px !important;
} */