Skip to content

Commit

Permalink
Add deploy app label to toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
nenb committed Oct 2, 2024
1 parent 0e0faf6 commit 0c7f9f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"Notebook": [
{
"name": "deploy-app",
"command": "jhub-apps:deploy-app"
"command": "jhub-apps:deploy-app",
"label": "Deploy App"
}
]
},
Expand Down
10 changes: 10 additions & 0 deletions style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,13 @@
https://jupyterlab.readthedocs.io/en/stable/developer/css.html
*/

.jp-ToolbarButtonComponent[data-command='jhub-apps:deploy-app'] svg {
margin-right: 4px;
vertical-align: middle;
}

.jp-ToolbarButtonComponent[data-command='jhub-apps:deploy-app']
.jp-ToolbarButtonComponent-label {
vertical-align: middle;
}

0 comments on commit 0c7f9f2

Please sign in to comment.