feature/IO-3545-Production-Board-List-DND - Checkpoint

This commit is contained in:
Dave
2026-02-03 15:17:20 -05:00
parent 3acec55c0e
commit 332ade96e5
3 changed files with 33 additions and 3 deletions

View File

@@ -446,3 +446,32 @@
//.rbc-time-header-gutter {
// padding: 0;
//}
/* globally allow shrink inside table cells */
.prod-list-table .ant-table-cell,
.prod-list-table .ant-table-cell > * {
min-width: 0;
}
/* common AntD offenders */
.prod-list-table > .ant-table-cell .ant-space,
.ant-table-cell .ant-space-item {
min-width: 0;
}
/* Keep your custom header content on the left, push AntD sorter to the far right */
.prod-list-table .ant-table-column-sorters {
display: flex !important;
align-items: center;
width: 100%;
}
.prod-list-table .ant-table-column-title {
flex: 1 1 auto;
min-width: 0; /* allows ellipsis to work */
}
.prod-list-table .ant-table-column-sorter {
margin-left: auto;
flex: 0 0 auto;
}

View File

@@ -472,6 +472,7 @@ export function ProductionListTable({ loading, data, refetch, bodyshop, technici
<Table
sticky
tableLayout="fixed"
className="prod-list-table"
pagination={false}
size="small"
{...(Production_List_Status_Colors.treatment === "on" &&

View File

@@ -18,12 +18,12 @@ const ResizableComponent = forwardRef((props, ref) => {
onResizeStop={onResizeStop}
draggableOpts={{ enableUserSelectHack: false }}
resizeHandles={["e"]}
axis="x"
handle={(axis, handleRef) => (
<span
ref={handleRef}
<span
ref={handleRef}
className={`react-resizable-handle react-resizable-handle-${axis}`}
onClick={(e) => e.stopPropagation()}
style={{ width: '10px', right: '-5px', cursor: 'col-resize' }}
/>
)}
>