diff --git a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx index b6eed4356..d7e55d3c9 100644 --- a/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx +++ b/packages/twenty-front/src/modules/ui/layout/show-page/components/ShowPageSubContainer.tsx @@ -26,10 +26,6 @@ const StyledShowPageRightContainer = styled.div<{ isMobile: boolean }>` overflow: auto; `; -const StyledTabListContainer = styled.div<{ shouldDisplay: boolean }>` - display: ${({ shouldDisplay }) => (shouldDisplay ? 'flex' : 'none')}; -`; - const StyledTabList = styled(TabList)` padding-left: ${({ theme }) => theme.spacing(2)}; `; @@ -124,7 +120,7 @@ export const ShowPageSubContainer = ({ )} - 1}> + {visibleTabs.length > 1 && ( - + )} {(isMobile || isInRightDrawer) && summaryCard} {renderActiveTabContent()}