Skip to content

Commit

Permalink
Import module css via SASS
Browse files Browse the repository at this point in the history
Workaround for regression in package.
See:
WordPress/gutenberg#19535
  • Loading branch information
sirreal committed Jan 13, 2020
1 parent 10478bd commit e1f9673
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/landing/gutenboarding/gutenboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ import { useSelect } from '@wordpress/data';
import '@wordpress/format-library';
import classnames from 'classnames';
import React, { useRef, useState } from 'react';
import '@wordpress/components/build-style/style.css';
// Uncomment and remove the redundant sass import from `./style.css` when a release after @wordpress/[email protected] is published.
// See https://github.com/WordPress/gutenberg/pull/19535
// import '@wordpress/components/build-style/style.css';
import { useRouteMatch } from 'react-router-dom';

/**
Expand Down
3 changes: 3 additions & 0 deletions client/landing/gutenboarding/style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// @TODO: Remove this line and restore the import in `./gutenboard.tsx` when a release after @wordpress/[email protected] is published.
// See https://github.com/WordPress/gutenberg/pull/19535
@import '~@wordpress/components/build-style/style';
@import 'assets/stylesheets/gutenberg-base-styles';

// Override core variables: we don't have wp-admin header and sidebar in Calypso
Expand Down

0 comments on commit e1f9673

Please sign in to comment.