mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-25 10:05:02 +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) => (
|
||||
<div css={STYLES_SCENE} {...props}>
|
||||
<div css={STYLES_CONTENT}>{props.children}</div>
|
||||
<div css={STYLES_CONTENT} style={props.contentStyle}>
|
||||
{props.children}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
@ -369,7 +369,10 @@ export default class SceneSlate extends React.Component {
|
||||
}).length;
|
||||
|
||||
return (
|
||||
<ScenePage style={{ padding: `88px 24px 128px 24px`, maxWidth: "none" }}>
|
||||
<ScenePage
|
||||
style={{ padding: `88px 24px 128px 24px` }}
|
||||
contentStyle={{ maxWidth: "none" }}
|
||||
>
|
||||
<ScenePageHeader
|
||||
style={{ padding: `0 24px 0 24px` }}
|
||||
title={
|
||||
|
Loading…
Reference in New Issue
Block a user