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/29 14:25:50 UTC

[superset] 12/18: fix(explore): Dataset icon remains constant when dragging. (#12761)

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 4c2303e6382a9f9ed6a62d1466ac5e42c7955d1e
Author: Ayan Ginet <39...@users.noreply.github.com>
AuthorDate: Wed Jan 27 11:10:36 2021 +0500

    fix(explore): Dataset icon remains constant when dragging.  (#12761)
    
    * fix: constant icon size
    
    * clean up
---
 superset-frontend/src/explore/components/controls/DatasourceControl.jsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset-frontend/src/explore/components/controls/DatasourceControl.jsx b/superset-frontend/src/explore/components/controls/DatasourceControl.jsx
index e467f53..bb0622e 100644
--- a/superset-frontend/src/explore/components/controls/DatasourceControl.jsx
+++ b/superset-frontend/src/explore/components/controls/DatasourceControl.jsx
@@ -89,6 +89,7 @@ const Styles = styled.div`
   }
   .dataset-svg {
     margin-right: ${({ theme }) => 2 * theme.gridUnit}px;
+    flex: none;
   }
 `;