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/25 13:11:58 UTC

[superset] 22/38: fix: dropdown indicator in tabs has proper width and position (#12584)

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 8b094148066d16b840941c3f02c0cb3ef3a72777
Author: Kasia Kucharczyk <25...@users.noreply.github.com>
AuthorDate: Wed Jan 20 23:18:42 2021 +0100

    fix: dropdown indicator in tabs has proper width and position (#12584)
    
    Closes #12481 , partially fix #12486
---
 .../src/dashboard/components/gridComponents/Tabs.jsx     | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/superset-frontend/src/dashboard/components/gridComponents/Tabs.jsx b/superset-frontend/src/dashboard/components/gridComponents/Tabs.jsx
index 455a41a..e1bedbe 100644
--- a/superset-frontend/src/dashboard/components/gridComponents/Tabs.jsx
+++ b/superset-frontend/src/dashboard/components/gridComponents/Tabs.jsx
@@ -86,22 +86,6 @@ const StyledTabsContainer = styled.div`
     position: relative;
   }
 
-  .drop-indicator--left {
-    left: ${({ theme }) => -theme.gridUnit * 3}px !important;
-  }
-  .drop-indicator--right {
-    left: ${({ theme }) => `calc(100% + ${theme.gridUnit * 6}px)`} !important;
-  }
-
-  .drop-indicator--bottom,
-  .drop-indicator--top {
-    width: ${({ theme }) => `calc(100% + ${theme.gridUnit * 6}px)`} !important;
-  }
-
-  .drop-indicator--top {
-    top: ${({ theme }) => theme.gridUnit * 2}px;
-  }
-
   .ant-tabs {
     overflow: visible;