Skip to content

Commit bb3313b

Browse files
authored
Fix script whitespace in inspectorscript (#184)
Fixes whitespaces in inspectorscripts.ts. Extension now should be able to push its code to the kernel again.
1 parent ccde248 commit bb3313b

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.github/workflows/build_and_deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Build
1+
name: Deploy
2+
23
on:
34
release:
45
types: [published]

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@lckr/jupyterlab_variableinspector",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
4+
45
"description": "Variable inspector extension for JupyterLab",
56
"keywords": [
67
"jupyter",

src/variableinspector.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export class VariableInspectorPanel extends Widget
166166
// Add delete icon and onclick event
167167
let cell = row.insertCell(0);
168168
cell.title = 'Delete Variable';
169+
cell.className = 'jp-VarInspector-deleteButton';
169170
const ico = closeIcon.element();
170171
ico.onclick = (ev: MouseEvent): any => {
171172
this.source.performDelete(name);
@@ -176,6 +177,7 @@ export class VariableInspectorPanel extends Widget
176177
cell = row.insertCell(1);
177178
if (item.isMatrix) {
178179
cell.title = 'View Contents';
180+
cell.className = 'jp-VarInspector-inspectButton';
179181
const ico = searchIcon.element();
180182
ico.onclick = (ev: MouseEvent): any => {
181183
console.log('Click on ' + name);

style/index.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
text-align: center;
3636
background-color: var(--jp-layout-color2);
3737
color: var(--jp-ui-font-color1);
38+
font-family: sans-serif;
3839
font-weight: 600;
3940
letter-spacing: 1px;
4041
text-transform: uppercase;
@@ -51,6 +52,12 @@
5152
text-align: center;
5253
width: 1em;
5354
}
55+
56+
.jp-VarInspector-inspectButton {
57+
text-align: center;
58+
width: 1em;
59+
}
60+
5461

5562
.jp-VarInspector-varName {
5663
font-weight: 600;

0 commit comments

Comments
 (0)