From 212083b5ed7cad79cc17bd728f1ceb8e795d159e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Tue, 13 Dec 2022 14:06:25 +0000 Subject: [PATCH] fix: favorite tooltip topleft flash (#2686) Fixes an issue where the tooltip would flash on the top left when going through the rows. --- .../common/Table/VirtualizedTable/VirtualizedTable.styles.ts | 2 +- .../common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/common/Table/VirtualizedTable/VirtualizedTable.styles.ts b/frontend/src/component/common/Table/VirtualizedTable/VirtualizedTable.styles.ts index c31f53a910..6814d09ea9 100644 --- a/frontend/src/component/common/Table/VirtualizedTable/VirtualizedTable.styles.ts +++ b/frontend/src/component/common/Table/VirtualizedTable/VirtualizedTable.styles.ts @@ -6,7 +6,7 @@ export const useStyles = makeStyles()(() => ({ width: '100%', '&:hover': { '.show-row-hover': { - display: 'inherit', + opacity: 1, }, }, }, diff --git a/frontend/src/component/common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx b/frontend/src/component/common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx index 5b8281f634..537c9a84ee 100644 --- a/frontend/src/component/common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx +++ b/frontend/src/component/common/Table/cells/FavoriteIconCell/FavoriteIconCell.tsx @@ -14,7 +14,7 @@ interface IFavoriteIconCellProps { const InactiveIconButton = styled(IconButton)(({ theme }) => ({ color: theme.palette.primary.main, - display: 'none', + opacity: 0, })); export const FavoriteIconCell: VFC = ({