diff --git a/src/components/pages/production/recording/form/RecordingForm.tsx b/src/components/pages/production/recording/form/RecordingForm.tsx index d728d73c..a18921e3 100644 --- a/src/components/pages/production/recording/form/RecordingForm.tsx +++ b/src/components/pages/production/recording/form/RecordingForm.tsx @@ -2624,9 +2624,9 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { )} {/* Action buttons */} -
+
{/* Left side - Detail & Edit actions */} -
+
{type === 'detail' && deleteRecordingClickHandler && ( )}
-
+ {/* Right side actions */} +
{type === 'detail' && isLayingCategory && ( { ? 'Lanjut ke proses grading untuk telur konsumsi baik' : 'Hanya bisa melanjutkan ke grading jika ada Telur Konsumsi Baik' } - position='top' + position='left' color={ hasConsumableEggsInCurrentRecording ? 'info' : 'warning' } @@ -2677,6 +2678,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { type='button' color='primary' disabled={!hasConsumableEggsInCurrentRecording} + className='w-full sm:w-auto' onClick={() => { const recordingId = newRecordingData?.id || initialValues?.id; @@ -2701,7 +2703,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { )} {type === 'edit' && ( - <> +
- +
)} {type === 'add' && ( - <> +
)} - +
)}