From 34da995dd9ae56f35eeb45b97228b6598036680b Mon Sep 17 00:00:00 2001 From: Kasia Kucharczyk <2536609+kkucharc@users.noreply.github.com> Date: Tue, 12 Jan 2021 21:06:48 +0100 Subject: [PATCH] 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 19df3ad3086ff..4efdb721e091f 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; }