From 51d1305e275eadab807152b16902fe04a18e9965 Mon Sep 17 00:00:00 2001 From: Harsh Singh Date: Sat, 9 Nov 2024 12:49:28 +0530 Subject: [PATCH] fix: timeline padding (#8440) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: #8437 Co-authored-by: FĂ©lix Malfait --- .../timeline-activities/components/EventList.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx index 951df3d14188..a19f0af6a7e0 100644 --- a/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx +++ b/packages/twenty-front/src/modules/activities/timeline-activities/components/EventList.tsx @@ -9,7 +9,6 @@ import { ActivityTargetableObject } from '@/activities/types/ActivityTargetableE import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems'; import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper'; -import { MOBILE_VIEWPORT } from 'twenty-ui'; type EventListProps = { targetableObject: ActivityTargetableObject; @@ -27,12 +26,6 @@ const StyledTimelineContainer = styled.div` flex-direction: column; gap: ${({ theme }) => theme.spacing(1)}; justify-content: flex-start; - - width: calc(100% - ${({ theme }) => theme.spacing(8)}); - - @media (max-width: ${MOBILE_VIEWPORT}px) { - width: calc(100% - ${({ theme }) => theme.spacing(2)}); - } `; export const EventList = ({ events, targetableObject }: EventListProps) => {