Skip to content

Commit

Permalink
style: remove hover effects from the edit btn
Browse files Browse the repository at this point in the history
  • Loading branch information
JaneMoroz committed Sep 11, 2023
1 parent dd62b15 commit 8d31db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/directory/components/TeamRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ function TeamRow({ teamMember, currentUserId }: TeamRowProps) {
<td className="text-black">{teamMember.name}</td>
<td>{teamMember.discordId}</td>
<td>
<div className="flex items-center justify-between h-[35px] bg-white rounded-md pl-4 pr-2">
<div className="flex items-center justify-between h-[35px] bg-white rounded-md pl-4">
{teamMember.averageHour === 0 ? "Add hours" : teamMember.averageHour}
{teamMember.id === currentUserId && (
<Button
title={"edit"}
customClassName="pl-2 pr-1 h-8 p-0 min-h-0 text-sm font-semibold text-black bg-white border-transparent"
customClassName="pl-2 pr-1 h-full rounded-l-none rounded-r-md p-0 min-h-0 text-sm font-semibold text-black bg-white border-transparent hover:bg-white hover:border-transparent"
>
<PencilSquareIcon className="w-4 h-4 text-black" />
</Button>
Expand Down

0 comments on commit 8d31db9

Please sign in to comment.