Skip to content

Commit 54647dc

Browse files
committed
Merge branch 'master' of github.com:Codebrahma/React-Lite-UI
2 parents a91bd85 + 9716466 commit 54647dc

File tree

1 file changed

+7
-3
lines changed
  • docs/client/components/GettingStartedPage

1 file changed

+7
-3
lines changed

docs/client/components/GettingStartedPage/index.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ import React from 'react';
33
import SampleCode from './sampleCode.md';
44
import styles from './styles.scss';
55

6+
const usageStyle = {
7+
height: '400px',
8+
overflowY: 'scroll',
9+
background: '#d2d2d2',
10+
};
11+
612
const GettingStartedPage = () => (
713
<div className={styles.code}>
814
<h2 className="header">
@@ -17,9 +23,7 @@ const GettingStartedPage = () => (
1723
<div className="sub-header">
1824
Usage
1925
</div>
20-
<div className="js-code">
21-
<div dangerouslySetInnerHTML={{ __html: SampleCode }} />
22-
</div>
26+
<div style={usageStyle} dangerouslySetInnerHTML={{ __html: SampleCode }} />
2327
<div className="empty-div" />
2428
</div>
2529
);

0 commit comments

Comments
 (0)