You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2022/05/12 19:50:03 UTC

[superset] branch master updated: fix: Fixes Tabs style (#20050)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new fff9ad05d4 fix: Fixes Tabs style (#20050)
fff9ad05d4 is described below

commit fff9ad05d4823c897117508bd37e5aec4bb9f739
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Thu May 12 16:49:51 2022 -0300

    fix: Fixes Tabs style (#20050)
---
 superset-frontend/src/components/Tabs/Tabs.tsx | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/superset-frontend/src/components/Tabs/Tabs.tsx b/superset-frontend/src/components/Tabs/Tabs.tsx
index 044769b3f7..07fb7fa964 100644
--- a/superset-frontend/src/components/Tabs/Tabs.tsx
+++ b/superset-frontend/src/components/Tabs/Tabs.tsx
@@ -112,12 +112,13 @@ const StyledEditableTabs = styled(StyledTabs)`
     }
 
     ${
-      fullWidth &&
-      css`
-        .ant-tabs-nav-list {
-          width: 100%;
-        }
-      `
+      fullWidth
+        ? css`
+            .ant-tabs-nav-list {
+              width: 100%;
+            }
+          `
+        : ''
     }
   `}
 `;