Skip to content

Commit

Permalink
Backport PR #1036: Fix pointer on CommitBox not displaying (#1037)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew H. Li <[email protected]>
  • Loading branch information
meeseeksmachine and Andrew H. Li authored Sep 16, 2021
1 parent 361a753 commit ed6b807
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/style/CommitBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,7 @@ export const activeStyle = style({
export const disabledStyle = style({
cursor: 'not-allowed !important',
color: 'var(--jp-ui-font-color2) !important',
backgroundColor: 'var(--jp-layout-color3) !important'
backgroundColor: 'var(--jp-layout-color3) !important',
// TypeScript does not know about the value with `!important` flag
pointerEvents: 'auto !important' as any
});

0 comments on commit ed6b807

Please sign in to comment.