From 3a456acc0663e2456930696d0f09cab40b1a6def Mon Sep 17 00:00:00 2001 From: lwih Date: Tue, 21 Jan 2025 12:07:42 +0100 Subject: [PATCH] fix: padding on homepage v2 --- .../mission-list-page-content-wrapper.tsx | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/frontend/src/v2/features/common/components/layout/mission-list-page-content-wrapper.tsx b/frontend/src/v2/features/common/components/layout/mission-list-page-content-wrapper.tsx index 13dd925da..250ca1521 100644 --- a/frontend/src/v2/features/common/components/layout/mission-list-page-content-wrapper.tsx +++ b/frontend/src/v2/features/common/components/layout/mission-list-page-content-wrapper.tsx @@ -1,6 +1,6 @@ -import React, { FC, ReactNode } from 'react' -import { Col, FlexboxGrid, Loader, Stack } from 'rsuite' -import { Icon } from '@mtes-mct/monitor-ui' +import React, {FC, ReactNode} from 'react' +import {Col, FlexboxGrid, Loader, Stack} from 'rsuite' +import {Icon} from '@mtes-mct/monitor-ui' import Text from '@common/components/ui/text.tsx' interface MissionListContentWrapperProps { @@ -14,48 +14,48 @@ interface MissionListContentWrapperProps { } const MissionListPageContentWrapper: FC = ({ - title, - subtitle, - filters, - actions, - list, - loading, - hasMissions -}) => { + title, + subtitle, + filters, + actions, + list, + loading, + hasMissions + }) => { return ( - - + + - + - + {title} {subtitle && ( - + {subtitle} )} - - - - + + + + {filters} {loading ? ( -
+
= ({ />
) : !hasMissions ? ( -
- +
+ Aucune mission pour cette période de temps.