Skip to content

Commit

Permalink
Vertical center for react-devtools waiting
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jun 2, 2016
1 parent 0482a4d commit ed6240d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/containers/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const styles = {
wrapReactPanel: {
display: 'flex',
position: 'fixed',
flexDirection: 'column',
justifyContent: 'center',
width: '100%',
height: '40%',
left: 0,
Expand Down Expand Up @@ -56,7 +58,7 @@ const styles = {
padding: '4px',
borderRadius: '4px',
letterSpacing: '3px',
}
},
};

@connect(
Expand Down
1 change: 1 addition & 0 deletions app/containers/ReactDevTools/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const getNewKey = () => 'p' + Math.random().toString().substr(2, 10);

const styles = {
waiting: {
'-webkit-user-select': 'none',
textAlign: 'center',
padding: '30px',
color: '#aaa',
Expand Down

0 comments on commit ed6240d

Please sign in to comment.