Skip to content

Commit 1e62a7c

Browse files
Update docs
1 parent 848791f commit 1e62a7c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/components/HomepageFeatures/features.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const SimpleFeature = ({ title, description, code, codetitle }) => {
2424
<p className={styles.description}>{description}</p>
2525
</div>
2626
<div className={styles.codeSimple}>
27-
<CodeBlock title={codetitle} language="jsx">
27+
<CodeBlock language="jsx">
2828
{code}
2929
</CodeBlock>
3030
</div>
@@ -76,7 +76,7 @@ export const ComplexFeature = ({ title, description, code }) => {
7676
</div>
7777

7878
<div className={styles.codeComplex}>
79-
<CodeBlock title={item} language="jsx">
79+
<CodeBlock language="jsx">
8080
{code[item]}
8181
</CodeBlock>
8282
</div>

docs/src/components/HomepageFeatures/styles.module.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
}
3131

3232
.featureTextContent {
33-
flex: 0 0 70%;
33+
flex: 0 0 60%;
3434
}
3535

3636
.themeButton {

0 commit comments

Comments
 (0)