Skip to content

Commit 7ca5ebe

Browse files
committed
Fix for a weird off-by-1px table row visual bug
1 parent 2fe30b0 commit 7ca5ebe

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

apps/webapp/app/components/code/TSQLResultsTable.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -493,16 +493,14 @@ function CellValue({
493493
? runStatusFromFriendlyTitle(value)
494494
: undefined;
495495
if (status) {
496-
if (hovered) {
497-
return (
498-
<SimpleTooltip
499-
content={descriptionForTaskRunStatus(status)}
500-
disableHoverableContent
501-
button={<TaskRunStatusCombo status={status} />}
502-
/>
503-
);
504-
}
505-
return <TaskRunStatusCombo status={status} />;
496+
return (
497+
<SimpleTooltip
498+
content={descriptionForTaskRunStatus(status)}
499+
disableHoverableContent
500+
hidden={!hovered}
501+
button={<TaskRunStatusCombo status={status} />}
502+
/>
503+
);
506504
}
507505
break;
508506
}

0 commit comments

Comments
 (0)