Skip to content
Snippets Groups Projects
Commit ebac2de2 authored by Lukas's avatar Lukas Committed by mcfarhat
Browse files

Fix witnesses table hover bug

parent 7822a9a6
No related branches found
No related tags found
1 merge request!502Lbudginas/#396 account operations table bug
......@@ -198,11 +198,7 @@ export default function Witnesses() {
<TableRow
key={index}
className={cn(
`${
index % 2 === 0
? "bg-rowEven dark:bg-rowEven"
: "bg-rowOdd dark:bg-rowOdd"
}`,
`${index % 2 === 0 ? "bg-rowEven" : "bg-rowOdd"}`,
{
"line-through":
singleWitness.signing_key === config.inactiveWitnessKey,
......@@ -211,20 +207,10 @@ export default function Witnesses() {
)}
data-testid="witnesses-table-row"
>
<TableCell
className={cn("sticky left-0 min-w-[20px]", {
"bg-rowEven dark:bg-rowEven md:bg-inherit": index % 2 === 0,
"bg-rowOdd dark:bg-rowOdd md:bg-inherit": index % 2 !== 0,
})}
>
<TableCell className="sticky left-0 min-w-[20px] bg-inherit">
{singleWitness.rank}
</TableCell>
<TableCell
className={cn("text-explorer-turquoise sticky left-16", {
"bg-rowEven dark:bg-rowEven md:bg-inherit": index % 2 === 0,
"bg-rowOdd dark:bg-rowOdd md:bg-inherit": index % 2 !== 0,
})}
>
<TableCell className="text-explorer-turquoise sticky left-16 bg-inherit">
<div className="flex justify-between">
<Link
href={`/@${singleWitness.witness_name}`}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment