Skip to content

Commit 8f5c28f

Browse files
harise01hselvaka
andauthored
Added hover effect (#19)
* Added hover effect * Code style fix --------- Co-authored-by: hselvaka <hselvaka@uwaterloo.ca>
1 parent a443949 commit 8f5c28f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/components/CourseNode.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default function CourseNode({ data }: NodeProps<CourseNodeType>) {
2424
return (
2525
<div
2626
className={`flex flex-col justify-center rounded border ${borderColour} bg-white px-3 py-2 shadow-sm transition-opacity duration-150`}
27+
title={data.title}
2728
style={{ width: 180, height: 60, opacity: dimmed ? 0.25 : 1 }}
2829
>
2930
<Handle type="target" position={Position.Top} />

0 commit comments

Comments
 (0)