Skip to content

Commit

Permalink
move back the styles, as they don't show up on page refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Dec 13, 2018
1 parent 75b5775 commit 1d8e5f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions packages/dnb-design-system-portal/src/shared/parts/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ import classnames from 'classnames'
import { buildVersion } from '../../../package.json'
import { SidebarMenuProvider } from '../menu/SidebarMenuContext'

// UI Style
import 'dnb-ui-lib/src/style/patterns' // import ony patterns
import 'dnb-ui-lib/src/style' // import both all components and the default theme

class Layout extends PureComponent {
static propTypes = {
children: PropTypes.node.isRequired,
Expand Down
4 changes: 0 additions & 4 deletions packages/dnb-design-system-portal/src/templates/mdx.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ import MDXRenderer from 'gatsby-mdx/mdx-renderer'
import { graphql, withPrefix } from 'gatsby'
import inlineTags from '../shared/inlineTags'

// UI Style
import 'dnb-ui-lib/src/style/patterns' // import ony patterns
import 'dnb-ui-lib/src/style' // import both all components and the default theme

export default class MdxTemplate extends PureComponent {
render() {
const {
Expand Down

0 comments on commit 1d8e5f6

Please sign in to comment.