Skip to content

Commit

Permalink
Revert "feat(retro): make columns scrollable instead of page"
Browse files Browse the repository at this point in the history
not working
This reverts commit f0e1a00.
  • Loading branch information
Ben Willenbring committed Nov 30, 2023
1 parent cbac5e3 commit b4f420c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 24 deletions.
1 change: 0 additions & 1 deletion packages/frontend/src/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
html {
height: 100%;
overflow-y: hidden;
}

body {
Expand Down
37 changes: 14 additions & 23 deletions packages/frontend/src/retro/components/columns/Column.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,20 @@ export function Column({ column }: ColumnProps) {
>
<ColumnHeader column={column} />
<Divider />
<Box
sx={{
overflowY: "auto",
}}
>
<Droppable droppableId={column.id} type="item" isCombineEnabled={true}>
{(providedDroppable) => (
<Box
flex={1}
p={2}
minHeight="100%"
sx={{
transition: "background-color 0.2s ease",
}}
ref={providedDroppable.innerRef}
{...providedDroppable.droppableProps}
>
<Cards column={column} />
{providedDroppable.placeholder}
</Box>
)}
</Droppable>
</Box>
<Droppable droppableId={column.id} type="item" isCombineEnabled={true}>
{(providedDroppable) => (
<Box
flex={1}
p={2}
sx={{ transition: "background-color 0.2s ease" }}
ref={providedDroppable.innerRef}
{...providedDroppable.droppableProps}
>
<Cards column={column} />
{providedDroppable.placeholder}
</Box>
)}
</Droppable>
</Card>
)}
</Draggable>
Expand Down

0 comments on commit b4f420c

Please sign in to comment.