[Canvas] Apply global CSS to export workpad view #41298 (#41316)

This commit is contained in:
Catherine Liu 2019-07-16 22:08:03 -07:00 committed by GitHub
parent 8bb613e22a
commit 53edbfed40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import Style from 'style-it';
import { WorkpadPage } from '../../../components/workpad_page';
import { Link } from '../../../components/link';
@ -36,9 +37,12 @@ export class ExportApp extends React.PureComponent {
Edit Workpad
</Link>
</div>
<div className="canvasExport__stageContent">
<WorkpadPage isSelected page={activePage} height={height} width={width} />
</div>
{Style.it(
workpad.css,
<div className="canvasExport__stageContent">
<WorkpadPage isSelected page={activePage} height={height} width={width} />
</div>
)}
</div>
</div>
);