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%; + } + ` + : '' } `} `;