Skip to content

Commit

Permalink
Fix tooltip darkmode colors
Browse files Browse the repository at this point in the history
Resolves #106
  • Loading branch information
romanzipp committed Dec 5, 2024
1 parent 685a043 commit 238e1cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ function TopButton({
{children}

{popup && (
<div className="invisible absolute bottom-0 right-0 z-20 flex w-[20rem] translate-y-full justify-end group-hover/button:visible">
<div className="mt-2 rounded-md border border-gray-700 bg-gray-800 px-4 py-2 text-sm text-white shadow dark:border-gray-200 dark:bg-gray-100">
<div className="invisible absolute bottom-0 right-0 z-20 flex w-80 translate-y-full justify-end group-hover/button:visible">
<div className="mt-2 rounded-md border border-gray-700 bg-gray-800 px-4 py-2 text-sm text-white shadow dark:border-gray-200 dark:bg-gray-100 dark:text-black">
{popup}
</div>
</div>
Expand Down

0 comments on commit 238e1cf

Please sign in to comment.