diff --git a/client/src/components/Header/Header.jsx b/client/src/components/Header/Header.jsx
index 54a8567f..443d3a88 100755
--- a/client/src/components/Header/Header.jsx
+++ b/client/src/components/Header/Header.jsx
@@ -2,7 +2,7 @@ import React, { useCallback } from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { Link } from 'react-router-dom';
-import { Icon, Menu } from 'semantic-ui-react';
+import { Button, Icon, Menu } from 'semantic-ui-react';
import { usePopup } from '../../lib/popup';
import Paths from '../../constants/Paths';
@@ -55,15 +55,16 @@ const Header = React.memo(
>
-
+
{project.name}
+ {canEditProject && (
+
+ )}
)}
diff --git a/client/src/components/Header/Header.module.scss b/client/src/components/Header/Header.module.scss
index 48224d0b..6d2d876d 100644
--- a/client/src/components/Header/Header.module.scss
+++ b/client/src/components/Header/Header.module.scss
@@ -1,4 +1,20 @@
:global(#app) {
+ .editButton {
+ background: transparent;
+ box-shadow: none;
+ color: #fff;
+ font-size: 15px;
+ line-height: 34px;
+ margin-left: 8px;
+ opacity: 0;
+ padding: 0;
+ width: 34px;
+
+ &:hover {
+ background: rgba(255, 255, 255, 0.08);
+ }
+ }
+
.item {
cursor: auto;
user-select: auto;
@@ -11,6 +27,10 @@
&:hover {
background: transparent;
color: rgba(255, 255, 255, 0.9);
+
+ .target {
+ opacity: 1;
+ }
}
}