From a423b78e6db9feee7444d83377b0f936fd9a7e11 Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" Date: Thu, 12 May 2022 15:39:55 -0300 Subject: [PATCH] fix: Fixes Tabs style --- 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 044769b3f7148..07fb7fa964390 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%; + } + ` + : '' } `} `;