The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(front): render pinned command-menu buttons inline in page header (#22446)
Weiko63a0b0ab9613
diff --git a/packages/twenty-front/src/modules/ui/layout/page/components/PageCardHeader.tsx b/packages/twenty-front/src/modules/ui/layout/page/components/PageCardHeader.tsxindex 1e0e3729402..9f598b0f807 100644--- a/packages/twenty-front/src/modules/ui/layout/page/components/PageCardHeader.tsx+++ b/packages/twenty-front/src/modules/ui/layout/page/components/PageCardHeader.tsx@@ -31,7 +31,9 @@ const StyledHeader = styled.div<{ centerTitle?: boolean }>`column-gap: ${themeCssVariables.spacing[2]};display: grid;grid-template-columns: ${({ centerTitle }) =>- centerTitle ? 'minmax(0, 1fr) auto minmax(0, 1fr)' : 'minmax(0, 1fr) auto'};+ centerTitle+ ? 'minmax(0, 1fr) auto minmax(0, 1fr)'+ : 'minmax(0, auto) minmax(0, 1fr)'};min-height: ${SIDE_PANEL_TOP_BAR_HEIGHT}px;padding: 0 ${themeCssVariables.spacing[3]};width: 100%;