Skip to content

Commit 18b4479

Browse files
Andrew H. Lifcollonval
andauthored
Fix pointer on CommitBox not displaying (#1036)
* Fix pointer on CommitBox not displaying PR request based on @fcollonval's suggestion from this thread: #1035 (comment) * Update src/style/CommitBox.ts Co-authored-by: Frédéric Collonval <[email protected]> Co-authored-by: Frédéric Collonval <[email protected]>
1 parent 4623fae commit 18b4479

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/style/CommitBox.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,7 @@ export const activeStyle = style({
109109
export const disabledStyle = style({
110110
cursor: 'not-allowed !important',
111111
color: 'var(--jp-ui-font-color2) !important',
112-
backgroundColor: 'var(--jp-layout-color3) !important'
112+
backgroundColor: 'var(--jp-layout-color3) !important',
113+
// TypeScript does not know about the value with `!important` flag
114+
pointerEvents: 'auto !important' as any
113115
});

0 commit comments

Comments
 (0)