Skip to content

Commit

Permalink
little bit of css
Browse files Browse the repository at this point in the history
  • Loading branch information
pvh committed Nov 19, 2019
1 parent 90a0df8 commit c376a4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer/components/content-types/ListContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ const getItemStyle = (draggableStyle, isDragging) => ({
})

const getListStyle = (isDraggingOver) => ({
background: isDraggingOver ? 'lightblue' : 'lightgrey',
background: isDraggingOver ? 'lightblue' : 'white',
padding: grid,
position: 'relative',
width: '100%',
overflowY: 'auto',
})

/* demo helpers end */
Expand Down Expand Up @@ -128,6 +129,7 @@ export default function ListContent(props: ContentProps) {
<Droppable droppableId="droppable">
{(provided, snapshot) => (
<div
className="BoardCard--standard"
ref={provided.innerRef}
style={getListStyle(snapshot.isDraggingOver)}
{...provided.droppableProps}
Expand Down

0 comments on commit c376a4d

Please sign in to comment.