mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 18:56:31 +00:00
fix(GUI): restrict webkit drag to header
We ensure that the `-webkit-app-region` attribute is only set to `drag` on the header element and we explicitly disable it on modals, as this has unintended behaviour on a non-draggable window with touch-screens. Change-Type: patch
This commit is contained in:
parent
c47878202d
commit
117a7762e1
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user