White border on dragging over

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-05-03 07:07:04 +03:00
1 parent ef7d786755
commit ff50b5c8e3
2 files changed
+5 -3

No files matched your search

@@ -24,6 +24,10 @@
} }
} }
&:hover {
box-shadow: 0 0 0px 3px $clusterMenuBackground, 0 0 0px 6px #fff;
}
&.isDragging { &.isDragging {
box-shadow: none; box-shadow: none;
} }
@@ -45,11 +45,9 @@
border-radius: 6px; border-radius: 6px;
position: relative; position: relative;
&:hover { &.isDraggingOver {
&:not(:empty) {
box-shadow: 0 0 0px 3px $clusterMenuBackground, 0 0 0px 6px #fff; box-shadow: 0 0 0px 3px $clusterMenuBackground, 0 0 0px 6px #fff;
} }
}
&.animating { &.animating {
transform: translateZ(0); // Remove flickering artifacts transform: translateZ(0); // Remove flickering artifacts