File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/datascience-ui/native-editor Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -25,19 +25,23 @@ export class AddCellLine extends React.Component<IAddCellLineProps> {
25
25
const plus = this . props . includePlus ? (
26
26
< Image baseTheme = { this . props . baseTheme } class = "image-button-image" image = { ImageName . InsertBelow } />
27
27
) : null ;
28
+ const disabled = ! this . props . isNotebookTrusted ;
29
+ const innerFilter = disabled ? 'image-button-inner-disabled-filter' : '' ;
28
30
return (
29
31
< div className = { className } >
30
32
< button
31
33
role = "button"
32
34
aria-pressed = "false"
33
35
title = { tooltip }
34
- disabled = { ! this . props . isNotebookTrusted }
36
+ disabled = { disabled }
35
37
aria-label = { tooltip }
36
38
className = "add-cell-line-button"
37
39
onClick = { this . props . click }
38
40
>
39
- { plus }
40
- < span className = "add-cell-line-divider" />
41
+ < span className = { innerFilter } >
42
+ { plus }
43
+ < span className = "add-cell-line-divider" />
44
+ </ span >
41
45
</ button >
42
46
</ div >
43
47
) ;
You can’t perform that action at this time.
0 commit comments