Skip to content

Commit 00b4dac

Browse files
committed
Fixed gradient overflow on larger screen.
1 parent 4cd1066 commit 00b4dac

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

packages/react-renderer-demo/src/components/landing-page/landing-page-cards.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const Form = () => (
3535
const useStyles = makeStyles(theme => ({
3636
cardsContainer: {
3737
backgroundColor: theme.palette.common.white,
38+
minHeight: '100vh',
3839
},
3940
codeSnippet: {
4041
margin: '8px 0px',

packages/react-renderer-demo/src/components/layout.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ const useStyles = makeStyles(theme => ({
5252
},
5353
contentWrapper: {
5454
paddingTop: 86,
55-
paddingRight: 32,
56-
paddingLeft: 32,
5755
paddingBottom: 32,
5856
},
5957
menuButton: {
@@ -214,10 +212,15 @@ const Layout = ({ children }) => {
214212
</a>
215213
</div>
216214
<div className={ classes.contentWrapper }>
217-
{ children }
215+
<div style={{
216+
paddingRight: 32,
217+
paddingLeft: 32,
218+
}}>
219+
{ children }
220+
</div>
218221
<ConnectedLinks />
222+
<Footer />
219223
</div>
220-
<Footer />
221224
</main>
222225
</div>
223226
</MenuContext.Provider>

0 commit comments

Comments
 (0)