Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Block Explorer UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
Block Explorer UI
Commits
ce654023
Commit
ce654023
authored
4 months ago
by
Lukas
Browse files
Options
Downloads
Patches
Plain Diff
Fix witnesses table hover bug
parent
32c5fc0d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pages/witnesses.tsx
+3
-17
3 additions, 17 deletions
pages/witnesses.tsx
with
3 additions
and
17 deletions
pages/witnesses.tsx
+
3
−
17
View file @
ce654023
...
@@ -198,11 +198,7 @@ export default function Witnesses() {
...
@@ -198,11 +198,7 @@ export default function Witnesses() {
<
TableRow
<
TableRow
key
=
{
index
}
key
=
{
index
}
className
=
{
cn
(
className
=
{
cn
(
`
${
`
${
index
%
2
===
0
?
"
bg-rowEven
"
:
"
bg-rowOdd
"
}
`
,
index
%
2
===
0
?
"
bg-rowEven dark:bg-rowEven
"
:
"
bg-rowOdd dark:bg-rowOdd
"
}
`
,
{
{
"
line-through
"
:
"
line-through
"
:
singleWitness
.
signing_key
===
config
.
inactiveWitnessKey
,
singleWitness
.
signing_key
===
config
.
inactiveWitnessKey
,
...
@@ -211,20 +207,10 @@ export default function Witnesses() {
...
@@ -211,20 +207,10 @@ export default function Witnesses() {
)
}
)
}
data-testid
=
"witnesses-table-row"
data-testid
=
"witnesses-table-row"
>
>
<
TableCell
<
TableCell
className
=
"sticky left-0 min-w-[20px] bg-inherit"
>
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
,
})
}
>
{
singleWitness
.
rank
}
{
singleWitness
.
rank
}
</
TableCell
>
</
TableCell
>
<
TableCell
<
TableCell
className
=
"text-explorer-turquoise sticky left-16 bg-inherit"
>
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
,
})
}
>
<
div
className
=
"flex justify-between"
>
<
div
className
=
"flex justify-between"
>
<
Link
<
Link
href
=
{
`/@
${
singleWitness
.
witness_name
}
`
}
href
=
{
`/@
${
singleWitness
.
witness_name
}
`
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment