mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 22:12:19 +03:00
24 lines
502 B
JavaScript
24 lines
502 B
JavaScript
import * as React from "react";
|
|
import * as Constants from "~/common/constants";
|
|
|
|
import { css } from "@emotion/react";
|
|
|
|
const STYLES_SCENE = css`
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
padding: 104px 56px 104px 56px;
|
|
display: block;
|
|
|
|
@media (max-width: ${Constants.sizes.mobile}px) {
|
|
padding: 36px 24px 128px 24px;
|
|
}
|
|
`;
|
|
|
|
export const ScenePage = (props) => (
|
|
<div css={STYLES_SCENE} {...props}>
|
|
<div style={props.contentstyle}>{props.children}</div>
|
|
</div>
|
|
);
|
|
|
|
export default ScenePage;
|