diff --git a/src/containers/my-resources/add-resource-modal/AddResourceModal.styles.ts b/src/containers/my-resources/add-resource-modal/AddResourceModal.styles.ts index 8ff89e318..f24dc1b27 100644 --- a/src/containers/my-resources/add-resource-modal/AddResourceModal.styles.ts +++ b/src/containers/my-resources/add-resource-modal/AddResourceModal.styles.ts @@ -35,7 +35,8 @@ export const styles = { }, buttonsArea: { display: 'flex', - justifyContent: 'space-between' + justifyContent: 'end', + gap: '30px' }, addButton: { mr: '16px' } } diff --git a/src/containers/my-resources/add-resource-modal/AddResourceModal.tsx b/src/containers/my-resources/add-resource-modal/AddResourceModal.tsx index a667d9b8a..6cec57e69 100644 --- a/src/containers/my-resources/add-resource-modal/AddResourceModal.tsx +++ b/src/containers/my-resources/add-resource-modal/AddResourceModal.tsx @@ -90,27 +90,25 @@ const AddResourceModal = ({ /> - - - {t('common.add')} - - - {t('common.cancel')} - - - - {uploadItem && ( - - )} + + {t('common.cancel')} + + + {t('common.add')} + + + {uploadItem && ( + + )} ) } diff --git a/src/pages/create-or-edit-lesson/CreateOrEditLesson.tsx b/src/pages/create-or-edit-lesson/CreateOrEditLesson.tsx index ac36a62d5..9f37e1fcc 100644 --- a/src/pages/create-or-edit-lesson/CreateOrEditLesson.tsx +++ b/src/pages/create-or-edit-lesson/CreateOrEditLesson.tsx @@ -262,12 +262,12 @@ const CreateOrEditLesson = () => { {t('common.cancel')} - + {t('common.save')}