fixed slates page boundary bug

This commit is contained in:
Martina 2020-09-07 19:23:23 -07:00
parent 4676249003
commit bb84a53194
2 changed files with 7 additions and 2 deletions

View File

@ -21,7 +21,9 @@ const STYLES_CONTENT = css`
export const ScenePage = (props) => ( export const ScenePage = (props) => (
<div css={STYLES_SCENE} {...props}> <div css={STYLES_SCENE} {...props}>
<div css={STYLES_CONTENT}>{props.children}</div> <div css={STYLES_CONTENT} style={props.contentStyle}>
{props.children}
</div>
</div> </div>
); );

View File

@ -369,7 +369,10 @@ export default class SceneSlate extends React.Component {
}).length; }).length;
return ( return (
<ScenePage style={{ padding: `88px 24px 128px 24px`, maxWidth: "none" }}> <ScenePage
style={{ padding: `88px 24px 128px 24px` }}
contentStyle={{ maxWidth: "none" }}
>
<ScenePageHeader <ScenePageHeader
style={{ padding: `0 24px 0 24px` }} style={{ padding: `0 24px 0 24px` }}
title={ title={