Skip to content

Commit 5b3d275

Browse files
committed
#4020 sideways drag works but add button permanently stuck at bottom
1 parent d467e78 commit 5b3d275

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/TaskList/v2

src/frontend/src/pages/ProjectDetailPage/ProjectViewContainer/TaskList/v2/TaskColumn.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,14 @@ export const TaskColumn = ({
8585
<Box
8686
sx={{
8787
flex: 1,
88+
display: 'flex',
89+
flexDirection: 'column',
8890
paddingTop: '8px',
8991
paddingBottom: '16px',
9092
backgroundColor: theme.palette.background.paper,
9193
marginLeft: '5px',
92-
borderRadius: '5px'
94+
borderRadius: '5px',
95+
minHeight: isDragging ? `${equalizedHeight}px` : undefined
9396
}}
9497
>
9598
<Typography align="center" variant="h5">
@@ -109,7 +112,7 @@ export const TaskColumn = ({
109112
flexDirection: 'column',
110113
borderRadius: 5,
111114
padding: '5px',
112-
minHeight: isDragging ? `${equalizedHeight}px` : undefined,
115+
flex: 1,
113116
'&.isDraggingOver': {
114117
bgcolor: '#dadadf'
115118
}

0 commit comments

Comments
 (0)