The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
revert(navigation-drawer): unwanted desktop design changes from #20634 (#20955)
nitin5ff8c3b21981
diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsxindex 0520c895eab..80a3ae293db 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerItem.tsx@@ -24,7 +24,6 @@ import {TooltipDelay,TooltipPosition,} from 'twenty-ui/display';-import { MenuItemIconBoxContainer } from 'twenty-ui/navigation';import {MOBILE_VIEWPORT,ThemeContext,@@ -162,7 +161,7 @@ const StyledLabelParent = styled.div``;const StyledItemLabel = styled.span`- font-weight: ${themeCssVariables.font.weight.regular};+ font-weight: ${themeCssVariables.font.weight.medium};`;const StyledItemSecondaryLabel = styled.span`@@ -350,20 +349,18 @@ export const NavigationDrawerItem = ({</StyledIcon>) : (<StyledIcon>- <MenuItemIconBoxContainer>- <Icon- style={{- minWidth: theme.icon.size.md,- }}- size={theme.icon.size.md}- stroke={theme.icon.stroke.md}- color={- showBreadcrumb && !isExpanded- ? theme.font.color.light- : 'currentColor'- }- />- </MenuItemIconBoxContainer>+ <Icon+ style={{+ minWidth: theme.icon.size.md,+ }}+ size={theme.icon.size.md}+ stroke={theme.icon.stroke.md}+ color={+ showBreadcrumb && !isExpanded+ ? theme.font.color.light+ : 'currentColor'+ }+ /></StyledIcon>))}diff --git a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsxindex 2b54ccdec75..0a89c0298ca 100644--- a/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx+++ b/packages/twenty-front/src/modules/ui/navigation/navigation-drawer/components/NavigationDrawerSectionTitle.tsx@@ -17,8 +17,8 @@ const StyledTitle = styled.div`justify-content: space-between;padding-bottom: ${themeCssVariables.spacing[1]};padding-left: ${themeCssVariables.spacing[1]};- padding-right: ${themeCssVariables.spacing[1]};- padding-top: ${themeCssVariables.spacing[2]};+ padding-right: ${themeCssVariables.spacing['0.5']};+ padding-top: ${themeCssVariables.spacing[1]};&:hover {background-color: ${themeCssVariables.background.transparent.light};