The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fixed scrollbar height issue in Kanban view and adjusted the calendar view to adjust with the new change (#18367)
Lakshay Manchandaaa062644c884
diff --git a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsxindex b113011920c..f6fdc466222 100644--- a/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx+++ b/packages/twenty-front/src/modules/object-record/record-calendar/components/RecordCalendar.tsx@@ -17,9 +17,10 @@ import { LINK_CHIP_CLICK_OUTSIDE_ID } from 'twenty-ui/components';import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainerContainer = styled.div`+ box-sizing: border-box;display: flex;flex-direction: column;- height: inherit;+ height: 100%;gap: ${themeCssVariables.spacing[2]};padding: ${themeCssVariables.spacing[2]};padding-left: ${themeCssVariables.spacing[1]};diff --git a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsx b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsxindex d9f85299313..24323569b67 100644--- a/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsx+++ b/packages/twenty-front/src/modules/object-record/record-index/components/RecordIndexContainer.tsx@@ -1,5 +1,4 @@import { styled } from '@linaria/react';-import { themeCssVariables } from 'twenty-ui/theme-constants';import { ObjectOptionsDropdown } from '@/object-record/object-options-dropdown/components/ObjectOptionsDropdown';import { RecordBoardContainer } from '@/object-record/record-board/components/RecordBoardContainer';@@ -16,6 +15,7 @@ import { RecordIndexCalendarContainer } from '@/object-record/record-index/compoimport { RecordIndexFiltersToContextStoreEffect } from '@/object-record/record-index/components/RecordIndexFiltersToContextStoreEffect';import { ViewBar } from '@/views/components/ViewBar';import { ViewType } from '@/views/types/ViewType';+import { themeCssVariables } from 'twenty-ui/theme-constants';const StyledContainer = styled.div`display: flex;@@ -28,7 +28,8 @@ const StyledContainer = styled.div`const StyledContainerWithPadding = styled.div`box-sizing: border-box;- height: calc(100% - ${themeCssVariables.spacing[10]});+ flex: 1;+ min-height: 0;margin-left: ${themeCssVariables.spacing[2]};`;