Skip to content

Commit

Permalink
fixed app drag region
Browse files Browse the repository at this point in the history
  • Loading branch information
giniedp committed Jun 2, 2022
1 parent 325cfb3 commit 7565893
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions apps/web/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
:host {
gap: 1rem;
padding: 1rem;

.navbar {
-webkit-app-region: drag;
a, li, label {
-webkit-app-region: no-drag;
}
}
}
1 change: 1 addition & 0 deletions apps/web/app/title-bar.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
position: fixed;
left: 0;
right: 0;
top: 0;
z-index: 1000;

button {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nw-buddy",
"version": "1.5.1-1",
"version": "1.5.1-0",
"description": "New World Buddy",
"keywords": [],
"main": "dist/electron/main.js",
Expand Down

0 comments on commit 7565893

Please sign in to comment.