You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/01/13 17:10:15 UTC

[superset] 04/09: fix(dashboard): artefacts shown while drag and dropping deck.gl charts (#12418)

This is an automated email from the ASF dual-hosted git repository.

villebro pushed a commit to branch 1.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 34da995dd9ae56f35eeb45b97228b6598036680b
Author: Kasia Kucharczyk <25...@users.noreply.github.com>
AuthorDate: Tue Jan 12 21:06:48 2021 +0100

    fix(dashboard): artefacts shown while drag and dropping deck.gl charts (#12418)
    
    * [12181] Fix artifacts while drag and dropping deck.gl charts.
    
    * Run prettier
---
 superset-frontend/src/dashboard/stylesheets/dnd.less | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/superset-frontend/src/dashboard/stylesheets/dnd.less b/superset-frontend/src/dashboard/stylesheets/dnd.less
index 19df3ad..4efdb72 100644
--- a/superset-frontend/src/dashboard/stylesheets/dnd.less
+++ b/superset-frontend/src/dashboard/stylesheets/dnd.less
@@ -20,6 +20,13 @@
   position: relative;
 }
 
+// Fixes ISSUE-12181 - before in chart's contract-trigger breaks drag and drop mode
+.dashboard--editing {
+  .contract-trigger:before {
+    display: none;
+  }
+}
+
 .dragdroppable--dragging {
   opacity: 0.2;
 }