Skip to content

Commit

Permalink
Work around weird ExtractTextWebpackPlugin bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhink committed Jul 20, 2016
1 parent 68a1be0 commit dc457ce
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/components/Header/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*
* NOTE: the ordering of 'composes' rules matters for some weird reason.
* Check out this PR, and update extract-text-webpack-plugin if it's been
* merged.
*
* https://github.com/webpack/extract-text-webpack-plugin/pull/166
*/
.appHeaderWrapper {
composes: layoutElementWrapper from 'styles/layout.css'; /* MAY CAUSE ERRORS */
}

.appHeader {
background: white;
composes: z-depth-1 from 'styles/base.css';
Expand All @@ -12,6 +23,4 @@
margin: 0;
}

.appHeaderWrapper {
composes: layoutElementWrapper from 'styles/layout.css';
}

0 comments on commit dc457ce

Please sign in to comment.