diff --git a/front/src/applications/stdcmV2/components/StdcmCard.tsx b/front/src/applications/stdcmV2/components/StdcmCard.tsx
index ef4a3e3b568..3216c3abcd6 100644
--- a/front/src/applications/stdcmV2/components/StdcmCard.tsx
+++ b/front/src/applications/stdcmV2/components/StdcmCard.tsx
@@ -6,9 +6,17 @@ export type StdcmCardProps = {
disabled?: boolean;
title?: React.ReactNode;
children: React.ReactNode;
+ className?: string;
};
-const StdcmCard = ({ name, hasTip = false, disabled = false, title, children }: StdcmCardProps) => (
+const StdcmCard = ({
+ name,
+ hasTip = false,
+ disabled = false,
+ title,
+ children,
+ className = '',
+}: StdcmCardProps) => (
{name && (
)}
-
{children}
+
{children}
);
diff --git a/front/src/applications/stdcmV2/components/StdcmConsist.tsx b/front/src/applications/stdcmV2/components/StdcmConsist.tsx
index 17bdc3e8542..de712595a6b 100644
--- a/front/src/applications/stdcmV2/components/StdcmConsist.tsx
+++ b/front/src/applications/stdcmV2/components/StdcmConsist.tsx
@@ -108,33 +108,43 @@ const StdcmConsist = ({ setCurrentSimulationInputs, disabled = false }: StdcmCon
name={t('consist.consist')}
title={
}
disabled={disabled}
+ className="consist"
>
-
+
+
+
+
+
);
};
diff --git a/front/src/applications/stdcmV2/components/StdcmDefaultCard.tsx b/front/src/applications/stdcmV2/components/StdcmDefaultCard.tsx
index 84afd2bc231..ea2e9b38c7a 100644
--- a/front/src/applications/stdcmV2/components/StdcmDefaultCard.tsx
+++ b/front/src/applications/stdcmV2/components/StdcmDefaultCard.tsx
@@ -14,9 +14,9 @@ const StdcmDefaultCard = ({
onClick,
disabled = false,
}: StdcmCardProps) => (
-
+
diff --git a/front/src/applications/stdcmV2/components/StdcmDestination.tsx b/front/src/applications/stdcmV2/components/StdcmDestination.tsx
index 9fcd3d6340f..2cb41d40deb 100644
--- a/front/src/applications/stdcmV2/components/StdcmDestination.tsx
+++ b/front/src/applications/stdcmV2/components/StdcmDestination.tsx
@@ -101,6 +101,7 @@ const StdcmDestination = ({
name={t('trainPath.destination')}
title={}
disabled={disabled}
+ className="extremity"
>
-
+ <>
+
{opScheduleTimeType === 'preciseTime' && (
-
+
{/* TODO: Remove empty onChange events once we fix the warning on ui-core side */}
)}
-
+ >
);
};
diff --git a/front/src/applications/stdcmV2/components/StdcmOperationalPoint.tsx b/front/src/applications/stdcmV2/components/StdcmOperationalPoint.tsx
index b26551603dd..5f4e5a26517 100644
--- a/front/src/applications/stdcmV2/components/StdcmOperationalPoint.tsx
+++ b/front/src/applications/stdcmV2/components/StdcmOperationalPoint.tsx
@@ -133,8 +133,8 @@ const StdcmOperationalPoint = ({
}, [point]);
return (
-
-
+
+
-
+
}
+ className="extremity"
disabled={disabled}
hasTip
>
-
-
+ {origin && (
+
- {origin && (
-
- )}
-
+ )}
);
};
diff --git a/front/src/applications/stdcmV2/components/StdcmStopType.tsx b/front/src/applications/stdcmV2/components/StdcmStopType.tsx
index 2c2f05fbfd8..69105a7d666 100644
--- a/front/src/applications/stdcmV2/components/StdcmStopType.tsx
+++ b/front/src/applications/stdcmV2/components/StdcmStopType.tsx
@@ -12,7 +12,7 @@ const StdcmStopType = ({ stopTypes, updatePathStepStopType }: StdcmStopTypeProps
const { t } = useTranslation('stdcm');
return (
-
+