1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-28 07:50:55 +02:00

Fix webkit drag area preventing some other dragging functionality

This commit is contained in:
Enrico Monese 2017-03-25 18:58:33 +01:00
parent d8c522fadd
commit 632f0ca31f
3 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,7 @@
width: 8px;
border-radius: 3px;
pointer-events: auto;
-webkit-app-region: no-drag;
}
}

View File

@ -1,10 +1,12 @@
.drag-mask {
@include size(100%);
@include position(absolute, 0 null null 0);
-webkit-app-region: no-drag;
}
@mixin drag-handle {
position: relative;
-webkit-app-region: no-drag;
transition: background-color $slow-transition-out;
@include th { background: light-border-color(); }
&:hover, &.dragging {

View File

@ -1,6 +1,7 @@
@mixin area-selectable($border: false) {
cursor: pointer;
border-radius: 0;
-webkit-app-region: no-drag;
@include th {
@if ($border) {
border-#{$border}: selected-transparent-border();
@ -20,6 +21,7 @@
@mixin area-selected($border) {
cursor: default;
-webkit-app-region: no-drag;
@include th {
border-#{$border}: selected-border();
background-color: secondary-background-color();