Skip to content

The open alternative to Salesforce, designed for AI.

fix(front): keep kanban header columns full-width when board overflows viewport (#22926)

Thomas Trompette2dcf53619f56
diff --git a/packages/twenty-front/src/modules/ui/utilities/drag-and-drop/components/DragDropColumnSortableCell.tsx b/packages/twenty-front/src/modules/ui/utilities/drag-and-drop/components/DragDropColumnSortableCell.tsx
index b29e559b905..cfc7e9b0091 100644
--- a/packages/twenty-front/src/modules/ui/utilities/drag-and-drop/components/DragDropColumnSortableCell.tsx
+++ b/packages/twenty-front/src/modules/ui/utilities/drag-and-drop/components/DragDropColumnSortableCell.tsx
@@ -21,6 +21,7 @@ const SORTABLE_TRANSITION = {
const StyledSortableRoot = styled.div<{ $fill?: boolean }>`
display: ${({ $fill }) => ($fill ? 'flex' : 'block')};
+ flex-shrink: ${({ $fill }) => ($fill ? 0 : 'initial')};
height: ${({ $fill }) => ($fill ? '100%' : 'auto')};
min-height: 0;
min-width: ${({ $fill }) => ($fill ? '0' : 'auto')};