The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix table skeleton cells overflowing into the next column (#27768)
nitin2e8b29b836a3
diff --git a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellLoading.tsx b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellLoading.tsxindex 73006486e70..8d7bbf21a2c 100644--- a/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellLoading.tsx+++ b/packages/twenty-front/src/modules/object-record/record-table/record-table-cell/components/RecordTableCellLoading.tsx@@ -1,15 +1,15 @@import { RecordTableCellStyleWrapper } from '@/object-record/record-table/record-table-cell/components/RecordTableCellStyleWrapper';import { getRecordTableColumnFieldWidthClassName } from '@/object-record/record-table/utils/getRecordTableColumnFieldWidthClassName';import { styled } from '@linaria/react';-import { Skeleton } from 'twenty-ui/primitives/feedback';+import { Skeleton, SKELETON_HEIGHT_SIZES } from 'twenty-ui/primitives/feedback';import { themeCssVariables } from 'twenty-ui/theme';const StyledCellSkeleton = styled(Skeleton)`- display: block;- height: 0;- margin: 8px;- padding: 8px;- width: auto;+ && {+ display: block;+ margin: ${themeCssVariables.spacing[2]};+ width: auto;+ }`;export const RecordTableCellLoading = ({@@ -26,6 +26,7 @@ export const RecordTableCellLoading = ({><StyledCellSkeletonrender={<div />}+ height={SKELETON_HEIGHT_SIZES.s}animated={false}baseColor={themeCssVariables.background.tertiary}borderRadius={themeCssVariables.border.radius.sm}