The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix: record group chevron alignment (#9661)
Jérémy M9a82fb980b8a
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableTd.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableTd.tsxindex 5cddb1d8d53..1c95f0287a8 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableTd.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableTd.tsx@@ -24,9 +24,8 @@ const StyledTd = styled.td<{${({ borderColor, hasBottomBorder }) =>hasBottomBorder ? borderColor : 'transparent'};color: ${({ fontColor }) => fontColor};- border-right: 1px solid- ${({ borderColor, hasRightBorder }) =>- hasRightBorder ? borderColor : 'transparent'};+ border-right: ${({ borderColor, hasRightBorder }) =>+ hasRightBorder ? `1px solid ${borderColor}` : 'none'};padding: 0;transition: 0.3s ease;diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsxindex 1c3bc7c761b..7503b4a5056 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-section/components/RecordTableRecordGroupSection.tsx@@ -32,6 +32,11 @@ const StyledChevronContainer = styled(RecordTableTd)`vertical-align: middle;`;+const StyledAnimatedLightIconButton = styled(AnimatedLightIconButton)`+ display: block;+ margin: auto;+`;+const StyledTotalRow = styled.span`color: ${({ theme }) => theme.font.color.tertiary};margin-left: ${({ theme }) => theme.spacing(2)};@@ -88,7 +93,7 @@ export const RecordTableRecordGroupSection = () => {<StyledTrContainer onClick={handleDropdownToggle}><td aria-hidden /><StyledChevronContainer>- <AnimatedLightIconButton+ <StyledAnimatedLightIconButtonIcon={IconChevronDown}size="small"accent="secondary"