Skip to content

Commit 1f95dc6

Browse files
committed
adjust toolbar spacing
1 parent e53995c commit 1f95dc6

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

client/modules/IDE/components/Header/Toolbar.jsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,15 @@ const Toolbar = (props) => {
113113

114114
<div className="toolbar__project-name-container">
115115
<ProjectName />
116+
{/* Still show owner if not you */}
117+
{project?.owner && !userIsOwner && (
118+
<p className="toolbar__project-owner">
119+
{t('Toolbar.By')}{' '}
120+
<Link to={`/${project.owner.username}/sketches`}>
121+
{project.owner.username}
122+
</Link>
123+
</p>
124+
)}
116125
</div>
117126

118127
<div style={{ flex: 1 }} />
@@ -127,16 +136,6 @@ const Toolbar = (props) => {
127136
</div>
128137
)}
129138

130-
{/* Still show owner if not you */}
131-
{project?.owner && !userIsOwner && (
132-
<p className="toolbar__project-owner">
133-
{t('Toolbar.By')}{' '}
134-
<Link to={`/${project.owner.username}/sketches`}>
135-
{project.owner.username}
136-
</Link>
137-
</p>
138-
)}
139-
140139
<VersionIndicator />
141140

142141
<button

client/styles/components/_toolbar.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@
131131
padding-left: #{math.div(10, $base-font-size)}rem;
132132
display: flex;
133133
align-items: center;
134-
gap: #{math.div(16, $base-font-size)}rem;
135134

136135
> section {
137136
display: flex;

0 commit comments

Comments
 (0)