Skip to content

Commit

Permalink
fix(ui): tooltip going under new game card
Browse files Browse the repository at this point in the history
  • Loading branch information
prostarz committed Nov 11, 2024
1 parent 8341a05 commit e9d925b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/library/components/cards/newGame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { PlusIcon } from "lucide-react";

const NewGameCard = () => {
return (
<div className="h-44 w-full rounded-t-lg p-0 overflow-hidden relative group cursor-pointer">
<div className="relative w-full p-0 overflow-hidden rounded-t-lg cursor-pointer h-44 group">
{/* BG */}
<div className="w-full h-full rounded-md bg-gradient-to-tr from-blue-400 to-purple-400" />
<div className="absolute inset-0 z-20 flex items-center justify-center transition-all opacity-100 bg-gradient-to-tl from-background to-transparent hover:opacity-85">
<div className="absolute inset-0 z-0 flex items-center justify-center transition-all opacity-100 bg-gradient-to-tl from-background to-transparent hover:opacity-85">
<PlusIcon fill="white" className="size-10" />
</div>
</div>
Expand Down

0 comments on commit e9d925b

Please sign in to comment.