Skip to content

Commit

Permalink
Make jupyter logo select properly (jupyter#6927)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheukting committed Jun 20, 2023
1 parent b3732b7 commit 207d77e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/application-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ const logo: JupyterFrontEndPlugin<void> = {
height: '28px',
width: 'auto',
cursor: 'pointer',
margin: 'auto',
});
logo.id = 'jp-NotebookLogo';
app.shell.add(logo, 'top', { rank: 0 });
Expand Down
5 changes: 5 additions & 0 deletions packages/application-extension/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@
.jp-MainAreaWidget > .jp-Toolbar-micro {
display: none;
}

#jp-NotebookLogo {
/* bring logo to the front so it is selectable by tab*/
z-index: 10 ;
}

0 comments on commit 207d77e

Please sign in to comment.