Web: Components: fixed drag-and-drop styles

This commit is contained in:
Nikita Gopienko 2020-08-26 13:14:36 +03:00
parent 0c518770d9
commit 0178acb2f0

View File

@ -12,7 +12,7 @@ const StyledDragAndDrop = styled.div`
height: 100%;
border: ${props => props.drag ? "1px dashed #bbb" : "1px solid transparent"};
outline: none;
background: ${props => props.dragging ? props.isDragAccept ? "#EFEFB2" : "#F8F7BF" : "none"};
background: ${props => props.dragging ? props.isDragAccept ? "#EFEFB2" : "#F8F7BF" : "none !important"};
`;
const DragAndDrop = props => {