mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 12:02:10 +03:00
fix: timeline padding (#8440)
Fixes: #8437 Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
parent
8ee827d05d
commit
51d1305e27
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user