mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-19 01:21:30 +03:00
Fix New button drag behavior on pipeline views
This commit is contained in:
parent
fb0f9b7807
commit
d4b1153517
@ -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>
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user