From fff9ad05d4823c897117508bd37e5aec4bb9f739 Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" <70410625+michael-s-molina@users.noreply.github.com> Date: Thu, 12 May 2022 16:49:51 -0300 Subject: [PATCH] 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%; + } + ` + : '' } `} `;