Skip to content

Commit

Permalink
fix hover styles SH-204
Browse files Browse the repository at this point in the history
  • Loading branch information
v.trushin authored and vauweb committed Oct 30, 2024
1 parent 650791b commit 273d599
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const SelectMetricRow = memo(function _SelectMetricRow<T extends SelectOp
};

const handleClick = (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => {
onChecked(index, undefined, true, false);
onChecked(index, undefined, true, true);
event.stopPropagation();
};

Expand Down
7 changes: 5 additions & 2 deletions statshouse-ui/src/components/UI/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,10 @@
visibility: hidden;
}

.selectItem:hover .hoverVisible,
.selectCursor:hover .hoverVisible {
.selectItem:hover .hoverVisible {
visibility: visible;
}

.selectCursor .hoverVisible {
visibility: visible;
}

0 comments on commit 273d599

Please sign in to comment.