Skip to content
Snippets Groups Projects
Commit ef12e089 authored by mcfarhat's avatar mcfarhat
Browse files

adjust strikethrough of witness to cover entire row (ref issue 287)

parent 03210a7d
No related branches found
No related tags found
1 merge request!359adjust strikethrough of witness to cover entire row (ref issue 287)
Pipeline #99310 failed
......@@ -79,7 +79,7 @@ export default function Witnesses() {
{witnessesData.map((singleWitness, index) => (
<TableRow
key={index}
className={`${index % 2 === 0 ? "bg-gray-800" : "bg-gray-900"}`}
className={cn(`${index % 2 === 0 ? "bg-gray-800" : "bg-gray-900"}`,{"line-through": singleWitness.signing_key === config.inactiveWitnessKey})}
data-testid="witnesses-table-row"
>
<TableCell
......@@ -94,7 +94,7 @@ export default function Witnesses() {
className={cn("text-explorer-turquoise sticky left-11", {
"bg-gray-800 md:bg-inherit": index % 2 === 0,
"bg-gray-900 md:bg-inherit": index % 2 !== 0,
"line-through": singleWitness.signing_key === config.inactiveWitnessKey,
})}
>
......
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