Skip to content

Commit 2b9711f

Browse files
author
Ives van Hoorne
committed
Center prettify icon
1 parent 80c1bc9 commit 2b9711f

File tree

1 file changed

+4
-1
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Content/Tabs

1 file changed

+4
-1
lines changed

packages/app/src/app/pages/Sandbox/Editor/Content/Tabs/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ class EditorTabs extends React.Component {
164164
</TabsContainer>
165165

166166
<IconContainer>
167-
<Tooltip title="Prettify">
167+
<Tooltip
168+
style={{ display: 'inline-flex', alignItems: 'center' }}
169+
title="Prettify"
170+
>
168171
<StyledPrettierIcon
169172
disabled={!this.canPrettify(currentModule)}
170173
onClick={this.prettifyModule}

0 commit comments

Comments
 (0)