The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: width in PageHeader comp (#7866)
Harsh Singh11c3f1c39948
diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsxindex 332dee6a219..82a85687e49 100644--- a/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx+++ b/packages/twenty-front/src/modules/ui/layout/page/components/PageHeader.tsx@@ -31,7 +31,7 @@ const StyledTopBarContainer = styled.div<{ width?: number }>`padding: ${({ theme }) => theme.spacing(2)};padding-left: 0;padding-right: ${({ theme }) => theme.spacing(3)};- width: ${({ width }) => width + 'px' || '100%'};+ width: ${({ width }) => (width ? `${width}px` : '100%')};@media (max-width: ${MOBILE_VIEWPORT}px) {width: 100%;