diff --git a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/EditProjectNavbar/EditProjectNavbar.tsx b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/EditProjectNavbar/EditProjectNavbar.tsx index a8d3a7936d..db149ac82f 100644 --- a/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/EditProjectNavbar/EditProjectNavbar.tsx +++ b/packages/sirius-web/frontend/sirius-web-application/src/views/edit-project/EditProjectNavbar/EditProjectNavbar.tsx @@ -61,11 +61,33 @@ const projectEventSubscription = gql` `; const useEditProjectViewNavbarStyles = makeStyles((theme) => ({ + toolbar: { + display: 'flex', + flexDirection: 'row', + justifyContent: 'space-between', + width: '100%', + }, center: { display: 'flex', flexDirection: 'row', alignItems: 'center', }, + left: { + display: 'flex', + flexDirection: 'row', + alignItems: 'center', + }, + right: { + display: 'flex', + flexDirection: 'row', + alignItems: 'center', + }, + CUSTOM_EXT: { + marginRight: 'auto', + }, + CUSTOM_EXT_HIDDEN: { + visibility: 'hidden', + }, title: { marginRight: theme.spacing(2), overflow: 'hidden', @@ -163,24 +185,38 @@ export const EditProjectNavbar = ({ project }: EditProjectNavbarProps) => { modal = ; } } + let customExtension = ( +
+ EditProjectNavbar_LEFT +
+ ); + let hiddenCustomExtension = ( +
+ EditProjectNavbar_LEFT +
+ ); return ( <> -
- - {projectName} - - - - +
+
{customExtension}
+
+ + {projectName} + + + + +
+
{hiddenCustomExtension}