fix: timeline padding (#8440)

Fixes: #8437

Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
Harsh Singh 2024-11-09 12:49:28 +05:30 committed by GitHub
parent 8ee827d05d
commit 51d1305e27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,6 @@ import { ActivityTargetableObject } from '@/activities/types/ActivityTargetableE
import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem'; import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';
import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems'; import { useObjectMetadataItems } from '@/object-metadata/hooks/useObjectMetadataItems';
import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper'; import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper';
import { MOBILE_VIEWPORT } from 'twenty-ui';
type EventListProps = { type EventListProps = {
targetableObject: ActivityTargetableObject; targetableObject: ActivityTargetableObject;
@ -27,12 +26,6 @@ const StyledTimelineContainer = styled.div`
flex-direction: column; flex-direction: column;
gap: ${({ theme }) => theme.spacing(1)}; gap: ${({ theme }) => theme.spacing(1)};
justify-content: flex-start; 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) => { export const EventList = ({ events, targetableObject }: EventListProps) => {