Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix(component): reorder components to fix a styledcomponents problem …
Browse files Browse the repository at this point in the history
…with multiple sources

When this PR is mergend we should not need this anymore:
styled-components/styled-components#1324
  • Loading branch information
Lasse Küchler committed Dec 7, 2017
1 parent f4abd78 commit 757a6bd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/component/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const ElementPane = styledComponents.div`
flex-grow: 0;
flex-shrink: 1;
flex-basis: 350px;
order: 2;
border: 1px solid #ccc;
`;

Expand Down Expand Up @@ -54,14 +55,14 @@ class App extends React.Component<AppProps> {
</PatternsPane>
</Layout>

<PreviewPane>
<Preview store={this.props.store} />
</PreviewPane>

<ElementPane>
<ElementList store={this.props.store} />
</ElementPane>

<PreviewPane>
<Preview store={this.props.store} />
</PreviewPane>

<DevTools />
</Layout>
);
Expand Down

0 comments on commit 757a6bd

Please sign in to comment.