X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/670d92f78e9af2390b93e5d984f5fabf59a16071..ae6892150bb19c974d8af4cb323760f52a2ea19e:/src/views-components/details-panel/project-details.tsx

diff --git a/src/views-components/details-panel/project-details.tsx b/src/views-components/details-panel/project-details.tsx
index c3c3d68e33..d410076734 100644
--- a/src/views-components/details-panel/project-details.tsx
+++ b/src/views-components/details-panel/project-details.tsx
@@ -33,17 +33,22 @@ export class ProjectDetails extends DetailsData<ProjectResource> {
     }
 }
 
-type CssRules = 'tag' | 'editIcon';
+type CssRules = 'tag' | 'editIcon' | 'editButton';
 
 const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     tag: {
-        marginRight: theme.spacing.unit,
-        marginBottom: theme.spacing.unit
+        marginRight: theme.spacing.unit / 2,
+        marginBottom: theme.spacing.unit / 2,
     },
     editIcon: {
         paddingRight: theme.spacing.unit/2,
         fontSize: '1.125rem',
-    }
+    },
+    editButton: {
+        boxShadow: 'none',
+        padding: '2px 10px 2px 5px',
+        fontSize: '0.75rem'
+    },
 });
 
 interface ProjectDetailsComponentDataProps {
@@ -70,7 +75,9 @@ const ProjectDetailsComponent = connect(null, mapDispatchToProps)(
                         name: project.name,
                         description: project.description,
                         properties: project.properties,
-                    })}>
+                    })}
+                        className={classes.editButton} variant='contained'
+                        data-cy='details-panel-edit-btn' color='primary' size='small'>
                         <RenameIcon className={classes.editIcon} /> Edit
                     </Button>
                     : ''
