The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix: Number of records design on kanban (#6313)
Sanidhya Singh8a1af3a2ffca
diff --git a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsxindex a4c76e5bcfb..62d90625ead 100644--- a/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx+++ b/packages/twenty-front/src/modules/object-record/record-board/record-board-column/components/RecordBoardColumnHeader.tsx@@ -26,14 +26,11 @@ const StyledAmount = styled.div`const StyledNumChildren = styled.div`align-items: center;- background-color: ${({ theme }) => theme.background.tertiary};- border-radius: ${({ theme }) => theme.border.radius.rounded};color: ${({ theme }) => theme.font.color.tertiary};display: flex;height: 24px;justify-content: center;line-height: ${({ theme }) => theme.text.lineHeight.lg};- margin-left: auto;width: 16px;`;@@ -93,9 +90,7 @@ export const RecordBoardColumnHeader = () => {text={columnDefinition.title}/>{!!boardColumnTotal && <StyledAmount>${boardColumnTotal}</StyledAmount>}- {!isHeaderHovered && (- <StyledNumChildren>{recordCount}</StyledNumChildren>- )}+ <StyledNumChildren>{recordCount}</StyledNumChildren>{isHeaderHovered && columnDefinition.actions.length > 0 && (<StyledHeaderActions><LightIconButton