diff --git a/client/src/features/editor/components/MenuBlock/MenuBlock.style.ts b/client/src/features/editor/components/MenuBlock/MenuBlock.style.ts index 1dfa9696..4e64099a 100644 --- a/client/src/features/editor/components/MenuBlock/MenuBlock.style.ts +++ b/client/src/features/editor/components/MenuBlock/MenuBlock.style.ts @@ -9,11 +9,9 @@ export const menuBlockStyle = css({ width: "20px", height: "20px", marginLeft: "-20px", + opacity: 0, transition: "opacity 0.2s ease-in-out", cursor: "grab", - _groupHover: { - opacity: 1, - }, _active: { cursor: "grabbing", }, diff --git a/client/src/features/editor/components/MenuBlock/MenuBlock.tsx b/client/src/features/editor/components/MenuBlock/MenuBlock.tsx index 9ea2ecfe..da273c62 100644 --- a/client/src/features/editor/components/MenuBlock/MenuBlock.tsx +++ b/client/src/features/editor/components/MenuBlock/MenuBlock.tsx @@ -71,7 +71,12 @@ export const MenuBlock = ({ }; return ( -
+
drag handle
diff --git a/client/src/features/editor/components/block/Block.style.ts b/client/src/features/editor/components/block/Block.style.ts index 7a744530..e91d4efe 100644 --- a/client/src/features/editor/components/block/Block.style.ts +++ b/client/src/features/editor/components/block/Block.style.ts @@ -8,6 +8,9 @@ const baseBlockStyle = { width: "full", minHeight: "16px", backgroundColor: "transparent", + "&:hover .menu_block, .menu_block.option_modal_open": { + opacity: 1, + }, }; export const blockContainerStyle = cva({