Skip to content

Commit

Permalink
fix(editable): fix boxshadow beign on box
Browse files Browse the repository at this point in the history
  • Loading branch information
seaerchin committed Sep 7, 2023
1 parent c3c51b1 commit 49415f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/layouts/components/Editable/Editable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,12 @@ const DraggableAccordionItem = ({
borderRadius={isNested ? "0.375rem" : "0.5rem"}
{...draggableProvided.draggableProps}
ref={draggableProvided.innerRef}
boxShadow="sm"
boxShadow={isNested ? "" : "sm"}
position="relative"
>
{({ isExpanded }) => (
<Box
borderRadius={isNested ? "0.375rem" : "0.5rem"}
boxShadow={isNested ? "" : "sm"}
bgColor={
isExpanded && isNested
? "base.canvas.brand-subtle"
Expand Down

0 comments on commit 49415f1

Please sign in to comment.