diff --git a/frontend/src/components/DetailView/DetailView.tsx b/frontend/src/components/DetailView/DetailView.tsx index abfdc7f8..c85676b9 100755 --- a/frontend/src/components/DetailView/DetailView.tsx +++ b/frontend/src/components/DetailView/DetailView.tsx @@ -97,7 +97,7 @@ const EditToggleButton = ({ id="edit-button" onClick={handleClick} variant={mode.read ? 'contained' : 'outlined'} - style={{ width: '8em' }} + style={{ width: '12em', height: '3em' }} > {mode.read ? 'Edit' : 'Cancel edit'} @@ -254,13 +254,11 @@ export const DetailView = ({ /> )} - + {!isUserPage && } - + {!isPersonPage && !isNew && buttonText="Contact" />} canEdit={!!editRights.edit && !mode.staging} @@ -274,7 +272,7 @@ export const DetailView = ({ id="delete-button" onClick={onDelete} variant="contained" - sx={{ width: '8em', color: 'white' }} + sx={{ width: '8em', height: '3em' }} color="error" disabled={deleteDisabled} > diff --git a/frontend/src/components/DetailView/common/ContactModal.tsx b/frontend/src/components/DetailView/common/ContactModal.tsx index ab2fcde7..bac7a03c 100755 --- a/frontend/src/components/DetailView/common/ContactModal.tsx +++ b/frontend/src/components/DetailView/common/ContactModal.tsx @@ -24,7 +24,13 @@ export const ContactModal = ({ return ( - ({ needsTaxonomyAcknowledgement } id="write-button" - sx={{ width: '20em' }} + sx={{ width: '20em', height: '3em' }} onClick={() => { if (mode.staging) { void handleWriteButtonClick() diff --git a/frontend/src/components/TableView/TableToolBar.tsx b/frontend/src/components/TableView/TableToolBar.tsx index 176fa900..e7050fd3 100644 --- a/frontend/src/components/TableView/TableToolBar.tsx +++ b/frontend/src/components/TableView/TableToolBar.tsx @@ -205,6 +205,7 @@ export const TableToolBar = ({ {showContactButton && buttonText="Contact" noContext={true} />} {showNewButton && (