Skip to content

Commit df27b36

Browse files
committed
Fixes #914, aligns project name and autorefresh on Mac and Windows
1 parent 6120655 commit df27b36

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

client/modules/IDE/components/Toolbar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class Toolbar extends React.Component {
116116
}
117117
}}
118118
>
119-
{this.props.project.name} 
119+
<span>{this.props.project.name}</span>
120120
{
121121
this.canEditProjectName() &&
122122
<InlineSVG className="toolbar__edit-name-button" src={editProjectNameUrl} alt="Edit Project Name" />

client/styles/components/_toolbar.scss

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,12 @@
6868
align-items: center;
6969
}
7070

71-
.toolbar__autorefresh{
72-
display: flex;
73-
align-items: center;
74-
}
75-
7671
.toolbar__project-name-container {
7772
@include themify() {
7873
border-color: getThemifyVariable('inactive-text-color');
7974
}
8075
margin-left: #{10 / $base-font-size}rem;
8176
padding-left: #{10 / $base-font-size}rem;
82-
height: 70%;
8377
display: flex;
8478
align-items: center;
8579
}
@@ -95,7 +89,8 @@
9589
}
9690
}
9791
cursor: pointer;
98-
line-height: #{18 / $base-font-size}rem;
92+
display: flex;
93+
align-items: center;
9994

10095
.toolbar__project-name-container--editing & {
10196
display: none;
@@ -156,7 +151,6 @@
156151
display: inline-block;
157152
vertical-align: top;
158153
height: #{18 / $base-font-size}rem;
159-
margin-left: #{-4 / $base-font-size}rem;
160154
& svg {
161155
width: #{18 / $base-font-size}rem;
162156
height: #{18 / $base-font-size}rem;

0 commit comments

Comments
 (0)