Skip to content

Commit

Permalink
fix(dropdowns): Fix css loading order of dropdowns
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Sharma <esharma@pivotal.io>
  • Loading branch information
charleshansen authored and elenasharma committed Mar 17, 2016
1 parent 610a66f commit 919911a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 0 additions & 2 deletions library/src/pivotal-ui-react/dropdowns/dropdowns.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ var React = require('react');
import classnames from 'classnames';
import uniqueid from 'lodash.uniqueid';
import 'pui-css-dropdowns';
import 'pui-css-iconography';
import 'pui-css-button-group';

const types = React.PropTypes;

Expand Down
3 changes: 3 additions & 0 deletions library/src/pivotal-ui/components/dropdowns/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
try {
require('pui-css-bootstrap');
require('pui-css-buttons');
require('pui-css-button-group');
require('pui-css-iconography');
require('pui-css-links');
require('./dropdowns.css');
} catch(e) {
}
7 changes: 5 additions & 2 deletions library/src/pivotal-ui/components/dropdowns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"homepage": "http://styleguide.pivotal.io/",
"dependencies": {
"pui-css-bootstrap": "^4.0.0",
"pui-css-buttons": "^4.0.0"
"pui-css-buttons": "^4.0.0",
"pui-css-button-group": "^4.0.0",
"pui-css-iconography": "^4.0.0",
"pui-css-links": "^4.0.0"
},
"version": "4.0.0"
}
}

0 comments on commit 919911a

Please sign in to comment.