Skip to content

Commit

Permalink
fix kanban scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Davy-c committed Feb 1, 2022
1 parent e3768a7 commit e162f52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/design/components/organisms/Kanban/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,19 @@ const StyledContainer = styled.div`
&.kanban__list {
display: flex;
flex-direction: column;
max-height: calc(100vh - ${rightSideTopBarHeight * 3}px);
height: fit-content;
overflow: hidden;
height: auto;
}
.kanban__list__header {
flex: 0 0 auto;
}
.kanban__list__items__wrapper {
display: flexbox;
flex: 1 1 auto !important;
display: flex;
flex-direction: column;
flex: 1 1 auto;
max-height: calc(100vh - ${rightSideTopBarHeight * 5}px);
}
`

Expand Down
4 changes: 4 additions & 0 deletions src/design/components/organisms/Kanban/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ const KanbanContainer = styled.div`
background-color: ${({ theme }) => theme.colors.background.primary};
padding-bottom: ${({ theme }) => theme.sizes.spaces.df}px;
padding-left: 37px;
.kanban__item {
height: auto;
}
`

export default Kanban

0 comments on commit e162f52

Please sign in to comment.