mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
Fix scrolling over code examples
This commit is contained in:
@@ -27,7 +27,7 @@ export default function Home() {
|
||||
</p>
|
||||
</div>
|
||||
<div className={styles.codeExample}>
|
||||
<CodeExample code={simpleExample} />
|
||||
<CodeExample code={simpleExample} noScroll={true} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -54,7 +54,7 @@ export default function Home() {
|
||||
<div className={styles.hydrationSection}>
|
||||
<div className={styles.hydrationContainer}>
|
||||
<div className={styles.hydrationCode}>
|
||||
<CodeExample code={hydrationExample} height={260} />
|
||||
<CodeExample code={hydrationExample} height={260} noScroll={true} />
|
||||
</div>
|
||||
<div className={styles.hydrationText}>
|
||||
<h2>Smart Hydration</h2>
|
||||
|
||||
Reference in New Issue
Block a user