mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-26 10:34:09 +03:00
fixed slates page boundary bug
This commit is contained in:
parent
4676249003
commit
bb84a53194
@ -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>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -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={
|
||||||
|
Loading…
Reference in New Issue
Block a user