Skip to content

Commit

Permalink
Add highlighting to draggable elements
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <[email protected]>
  • Loading branch information
aematei committed May 30, 2024
1 parent c0de6a7 commit 78e399d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/src/components/Diagram/InsertPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const InstanceInsertItem: React.FC<InstanceInsertItemProps> = ({ label, s
}, []);

return (
<div className="flex flex-row items-center">
<div className="flex flex-row items-center hover:brightness-200">
<div className="relative left-[1px] z-10 h-2 w-2 border-[1px] rounded-full bg-black border-white "></div>
<div
className={`flex flex-none justify-center items-center rounded h-11 w-24 z-0 ${style ?? defaultNodeStyle}`}
Expand Down Expand Up @@ -67,7 +67,7 @@ export const RelationInsertItem: React.FC<RelationInsertItemProps> = ({ label, i
return (
<div className="flex flex-col items-start w-full pl-4">
<div
className="flex flex-row justify-between bg-clip-text w-24"
className="flex flex-row justify-between bg-clip-text w-24 hover:backdrop-brightness-100"
ref={ref}
>
<span className="text-center text-nowrap text-white text-[12px]">
Expand Down

0 comments on commit 78e399d

Please sign in to comment.