Skip to content

The open alternative to Salesforce, designed for AI.

Fix tab icon alignment issue (#11613)

nitind89474d43b4f
diff --git a/packages/twenty-front/src/modules/ui/layout/tab/components/Tab.tsx b/packages/twenty-front/src/modules/ui/layout/tab/components/Tab.tsx
index f38115976ae..3cdece3f297 100644
--- a/packages/twenty-front/src/modules/ui/layout/tab/components/Tab.tsx
+++ b/packages/twenty-front/src/modules/ui/layout/tab/components/Tab.tsx
@@ -4,8 +4,8 @@ import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { ReactElement } from 'react';
import { Link } from 'react-router-dom';
-import { Avatar, IconComponent } from 'twenty-ui/display';
import { Pill } from 'twenty-ui/components';
+import { Avatar, IconComponent } from 'twenty-ui/display';
type TabProps = {
id: string;
@@ -69,6 +69,9 @@ const StyledHover = styled.span`
const StyledIconContainer = styled.div`
flex-shrink: 0;
+ display: flex;
+ align-items: center;
+ justify-content: center;
`;
export const Tab = ({