Merge pull request #1228 from shyash/align-toolbar
Fix toolbar alignment (#914)
This commit is contained in:
commit
f4995b0725
2 changed files with 3 additions and 4 deletions
|
@ -116,7 +116,7 @@ class Toolbar extends React.Component {
|
|||
}
|
||||
}}
|
||||
>
|
||||
{this.props.project.name}
|
||||
<span>{this.props.project.name}</span>
|
||||
{
|
||||
this.canEditProjectName() &&
|
||||
<InlineSVG className="toolbar__edit-name-button" src={editProjectNameUrl} alt="Edit Project Name" />
|
||||
|
|
|
@ -74,7 +74,6 @@
|
|||
}
|
||||
margin-left: #{10 / $base-font-size}rem;
|
||||
padding-left: #{10 / $base-font-size}rem;
|
||||
height: 70%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
@ -90,7 +89,8 @@
|
|||
}
|
||||
}
|
||||
cursor: pointer;
|
||||
line-height: #{18 / $base-font-size}rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.toolbar__project-name-container--editing & {
|
||||
display: none;
|
||||
|
@ -151,7 +151,6 @@
|
|||
display: inline-block;
|
||||
vertical-align: top;
|
||||
height: #{18 / $base-font-size}rem;
|
||||
margin-left: #{-4 / $base-font-size}rem;
|
||||
& svg {
|
||||
width: #{18 / $base-font-size}rem;
|
||||
height: #{18 / $base-font-size}rem;
|
||||
|
|
Loading…
Reference in a new issue