Skip to content

Commit

Permalink
Fix search checkboxes in study sv pane when hovering
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas Leenknegt committed Jun 8, 2023
1 parent d009506 commit 57f7d19
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/pages/studyView/table/StructVarCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export class StructVarCell extends React.Component<IStructVarCellProps, {}> {
className={classnames({
[styles.addGeneUI]: true,
[styles.selected]: this.isCheckBoxChecked,
[styles.hover]: !this.isCheckBoxChecked,
})}
>
<i
Expand Down
10 changes: 8 additions & 2 deletions src/pages/studyView/table/tables.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,13 @@ $study-view-table-icon-size: 10px;
display: none;
}

%addGeneUIHover {
display: flex !important;
opacity: 0.5;
}
&:hover {
.addGeneUI {
display: flex !important;
opacity: 0.5;
@extend %addGeneUIHover;
}
}
.addGeneUI {
Expand All @@ -75,6 +78,9 @@ $study-view-table-icon-size: 10px;
display: flex !important;
opacity: 1 !important;
}
&.hover {
@extend %addGeneUIHover;
}
padding-left: 3px;
font-size: 12px;
color: #55c;
Expand Down
1 change: 1 addition & 0 deletions src/pages/studyView/table/tables.module.scss.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ declare const styles: {
readonly "highlightedEvenRow": string;
readonly "highlightedOddRow": string;
readonly "highlightedRow": string;
readonly "hover": string;
readonly "intersection": string;
readonly "labelContent": string;
readonly "labelContentSVG": string;
Expand Down

0 comments on commit 57f7d19

Please sign in to comment.