Skip to content

Commit

Permalink
fix overflow issue on hover on interactive body diagram (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnard76 authored Jun 1, 2024
2 parents ff506b4 + 5436148 commit 5e1916c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/(content)/health/InteractiveBodyDiagram.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function InteractiveBodyDiagram() {

return (
<div>
<div className={`h-96 w-fit opacity-gradient relative group`}>
<div className={`h-96 w-fit opacity-gradient relative group overflow-hidden`}>
<p className={`absolute group-hover:opacity-0 ${selectedBodyPart ? "opacity-0" : ""} transition-all`}>
Hover on me!
</p>
Expand Down

0 comments on commit 5e1916c

Please sign in to comment.