Fix New button drag behavior on pipeline views

This commit is contained in:
Charles Bochet 2023-08-10 15:16:56 -07:00
parent fb0f9b7807
commit d4b1153517
2 changed files with 5 additions and 2 deletions

View File

@ -97,7 +97,10 @@ export function EntityBoardColumn({
isDragDisabled={true} isDragDisabled={true}
> >
{(draggableProvided) => ( {(draggableProvided) => (
<div ref={draggableProvided?.innerRef}> <div
ref={draggableProvided?.innerRef}
{...draggableProvided?.draggableProps}
>
<StyledNewCardButtonContainer> <StyledNewCardButtonContainer>
<RecoilScope>{boardOptions.newCardComponent}</RecoilScope> <RecoilScope>{boardOptions.newCardComponent}</RecoilScope>
</StyledNewCardButtonContainer> </StyledNewCardButtonContainer>

View File

@ -8,7 +8,7 @@ const StyledButton = styled.button`
align-self: baseline; align-self: baseline;
background-color: ${({ theme }) => theme.background.primary}; background-color: ${({ theme }) => theme.background.primary};
border: none; border: none;
border-radius: ${({ theme }) => theme.border.radius.md}; border-radius: ${({ theme }) => theme.border.radius.sm};
color: ${({ theme }) => theme.font.color.tertiary}; color: ${({ theme }) => theme.font.color.tertiary};
cursor: pointer; cursor: pointer;
display: flex; display: flex;