Skip to content

Commit 175f045

Browse files
committed
design tweaks and bug fixes
1 parent 7e713c6 commit 175f045

File tree

4 files changed

+21
-20
lines changed

4 files changed

+21
-20
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ const extension: JupyterFrontEndPlugin<IDashboardTracker> = {
8383
// Define dashboard file type.
8484
const dashboardFiletype: Partial<DocumentRegistry.IFileType> = {
8585
name: 'dashboard',
86+
displayName: 'Dashboard',
8687
contentType: 'file',
8788
extensions: ['.dashboard', '.dash'],
8889
fileFormat: 'text',
@@ -274,7 +275,7 @@ const extension: JupyterFrontEndPlugin<IDashboardTracker> = {
274275
});
275276

276277
// Add commands to edit menu.
277-
mainMenu.editMenu.addGroup([
278+
mainMenu.fileMenu.addGroup([
278279
{
279280
command: CommandIDs.setDimensions
280281
},

style/base.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@
3838

3939
.pr-Resizer {
4040
display: none;
41-
width: 8px;
42-
height: 8px;
43-
outline: 2px solid var(--jp-brand-color1);
41+
width: 4px;
42+
height: 4px;
43+
outline: 1px solid var(--jp-brand-color1);
4444
z-index: 3;
4545
background-color: var(--jp-layout-color0);
4646
position: absolute;
@@ -51,26 +51,26 @@
5151
}
5252

5353
.pr-ResizerBottomRight {
54-
right: -4px;
55-
bottom: -4px;
54+
right: -2px;
55+
bottom: -2px;
5656
cursor: nwse-resize;
5757
}
5858

5959
.pr-ResizerBottomLeft {
60-
left: -4px;
61-
bottom: -4px;
60+
left: -2px;
61+
bottom: -2px;
6262
cursor: nesw-resize;
6363
}
6464

6565
.pr-ResizerTopRight {
66-
right: -4px;
67-
top: -4px;
66+
right: -2px;
67+
top: -2px;
6868
cursor: nesw-resize;
6969
}
7070

7171
.pr-ResizerTopLeft {
72-
left: -4px;
73-
top: -4px;
72+
left: -2px;
73+
top: -2px;
7474
cursor: nwse-resize;
7575
}
7676

Lines changed: 4 additions & 4 deletions
Loading
Lines changed: 4 additions & 4 deletions
Loading

0 commit comments

Comments
 (0)