Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Commit

Permalink
fix: Fix droppable column height sizing (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabrinovsky authored and lourenci committed May 3, 2020
1 parent a10463d commit 2944dc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Board/components/Column/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import CardAdder from './components/CardAdder'
import { pickPropOut } from '@services/utils'

const ColumnEmptyPlaceholder = React.forwardRef((props, ref) => (
<div ref={ref} style={{ minHeight: '28px' }} {...props} />
<div ref={ref} style={{ minHeight: 'inherit', height: 'inherit' }} {...props} />
))

const DroppableColumn = withDroppable(ColumnEmptyPlaceholder)
Expand All @@ -32,6 +32,7 @@ function Column({
{...draggablePropsWithoutStyle}
style={{
height: '100%',
minHeight: '28px',
display: 'inline-block',
verticalAlign: 'top',
...columnProvided.draggableProps.style
Expand Down

0 comments on commit 2944dc4

Please sign in to comment.