diff --git a/src/pages/observation/[observationId]/index.tsx b/src/pages/observation/[observationId]/index.tsx index bf872978..d4abb538 100644 --- a/src/pages/observation/[observationId]/index.tsx +++ b/src/pages/observation/[observationId]/index.tsx @@ -587,73 +587,101 @@ setFilteredEntityData(result) sx={{ display: 'flex', direction: 'row', + justifyContent: 'space-between', + alignItems: 'center', + '@media (max-width: 908px)': { + flexDirection: 'column', + + } }} > - {entity !== ObservationEntityType?.CENTER && ( - - - - {t('ATTENDANCE.CENTER_NAME')} - - } + MenuProps={{ + PaperProps: { + sx: { + maxHeight: '200px', + overflowY: 'auto', + }, }, - }, - }} - > - {myCohortList?.map((cohort: any) => ( - - {localStorage.getItem('role') === Role.TEAM_LEADER - ? cohort.name - : cohort.cohortName} - - ))} - - - )} + }} + > + {myCohortList?.map((cohort: any) => ( + + {localStorage.getItem('role') === Role.TEAM_LEADER + ? cohort.name + : cohort.cohortName} + + ))} + + + )} + + + {( + + {t('OBSERVATION.OBSERVATION_STATUS')} + + + )} + + - + - { ( - - {t('OBSERVATION.OBSERVATION_STATUS')} - - - )} -