mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Merge pull request #208 from resin-io/feat/window-drag
Allow window to be dragged from anywhere
This commit is contained in:
commit
78bb151387
@ -16,4 +16,5 @@
|
||||
|
||||
[ng-click] {
|
||||
cursor: pointer;
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
@ -19,6 +19,18 @@ body {
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
|
||||
/* Allow window to be dragged from anywhere */
|
||||
* {
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
button,
|
||||
a,
|
||||
input {
|
||||
-webkit-app-region: no-drag;
|
||||
}
|
||||
|
||||
/* Prevent WebView bounce effect in OS X */
|
||||
html,
|
||||
body {
|
||||
|
Loading…
x
Reference in New Issue
Block a user