fix: Style fixes

pull/457/head
Maksim Eltyshev 2 years ago
parent 0b5f6c5e30
commit 3b518e1146

@ -59,7 +59,7 @@ const Header = React.memo(
{project.name} {project.name}
{canEditProject && ( {canEditProject && (
<Button <Button
className={classNames(styles.actionsButton, styles.target)} className={classNames(styles.editButton, styles.target)}
onClick={handleProjectSettingsClick} onClick={handleProjectSettingsClick}
> >
<Icon fitted name="pencil" size="small" /> <Icon fitted name="pencil" size="small" />

@ -1,4 +1,20 @@
:global(#app) { :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 { .item {
cursor: auto; cursor: auto;
user-select: auto; user-select: auto;
@ -75,26 +91,4 @@
display: flex; display: flex;
flex: 0 0 auto; flex: 0 0 auto;
} }
.actionsButton {
background: none;
box-shadow: none;
border-radius: 3px;
box-sizing: content-box;
color: #fff;
display: inline-block;
text-align: center;
margin: 0;
min-height: auto;
opacity: 0;
outline: none;
padding: 4px;
transition: background 85ms ease;
width: 20px;
margin-left: 12px;
&:hover {
background: rgba(255, 255, 255, 0.08);
}
}
} }

Loading…
Cancel
Save