@ -59,7 +59,7 @@ const Header = React.memo(
{project.name}
{canEditProject && (
<Button
className={classNames(styles.actionsButton, styles.target)}
className={classNames(styles.editButton, styles.target)}
onClick={handleProjectSettingsClick}
>
<Icon fitted name="pencil" size="small" />
@ -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;
@ -75,26 +91,4 @@
display: flex;
flex: 0 0 auto;
.actionsButton {
background: none;
border-radius: 3px;
box-sizing: content-box;
display: inline-block;
text-align: center;
margin: 0;
min-height: auto;
outline: none;
padding: 4px;
transition: background 85ms ease;
width: 20px;
margin-left: 12px;