Skip to content

Commit ed6b807

Browse files
meeseeksmachineAndrew H. Li
and
Andrew H. Li
authored
Backport PR jupyterlab#1036: Fix pointer on CommitBox not displaying (jupyterlab#1037)
Co-authored-by: Andrew H. Li <[email protected]>
1 parent 361a753 commit ed6b807

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)