Skip to content

Commit

Permalink
Merge pull request balena-io#2372 from resin-io/file-picker-drag-fix
Browse files Browse the repository at this point in the history
fix(GUI): restrict webkit drag to header
  • Loading branch information
jhermsmeier committed May 30, 2018
2 parents de501f5 + 117a776 commit f312457
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/gui/css/desktop.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,14 @@ body {


/* Allow window to be dragged from anywhere */
* {
body > header {
-webkit-app-region: drag;
}

.modal-body {
-webkit-app-region: no-drag;
}

button,
a,
input {
Expand Down

0 comments on commit f312457

Please sign in to comment.