Skip to content

Commit 3de5507

Browse files
authored
Make jupyter logo select properly (#6927) (#6938)
* Make jupyter logo select properly (#6927) * auto formation
1 parent b3732b7 commit 3de5507

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/application-extension/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ const logo: JupyterFrontEndPlugin<void> = {
171171
height: '28px',
172172
width: 'auto',
173173
cursor: 'pointer',
174+
margin: 'auto',
174175
});
175176
logo.id = 'jp-NotebookLogo';
176177
app.shell.add(logo, 'top', { rank: 0 });

packages/application-extension/style/base.css

+5
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@
3333
.jp-MainAreaWidget > .jp-Toolbar-micro {
3434
display: none;
3535
}
36+
37+
#jp-NotebookLogo {
38+
/* bring logo to the front so it is selectable by tab*/
39+
z-index: 10;
40+
}

0 commit comments

Comments
 (0)