We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48ad440 commit 9ecfdd4Copy full SHA for 9ecfdd4
docs/client/components/GettingStartedPage/index.js
@@ -3,6 +3,12 @@ import React from 'react';
3
import SampleCode from './sampleCode.md';
4
import styles from './styles.scss';
5
6
+const usageStyle = {
7
+ height: '400px',
8
+ overflowY: 'scroll',
9
+ background: '#d2d2d2',
10
+};
11
+
12
const GettingStartedPage = () => (
13
<div className={styles.code}>
14
<h2 className="header">
@@ -17,9 +23,7 @@ const GettingStartedPage = () => (
17
23
<div className="sub-header">
18
24
Usage
19
25
</div>
20
- <div className="js-code">
21
- <div dangerouslySetInnerHTML={{ __html: SampleCode }} />
22
- </div>
26
+ <div style={usageStyle} dangerouslySetInnerHTML={{ __html: SampleCode }} />
27
<div className="empty-div" />
28
29
);
0 commit comments