mirror of
https://github.com/jaronpate/unicord.git
synced 2026-10-18 21:47:40 +00:00
Tweaked type section
This commit is contained in:
@@ -344,7 +344,7 @@
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.hydrationText p code {
|
||||
.typeText p code, .hydrationText p code {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.85em;
|
||||
background-color: var(--gray-alpha-100);
|
||||
|
||||
@@ -5,7 +5,7 @@ const CodeExample = dynamic(
|
||||
() => import('../components/CodeExample')
|
||||
);
|
||||
|
||||
import { simpleExample, hydrationExample } from '../components/CodeExample';
|
||||
import { simpleExample, hydrationExample, typeCoercionExample } from '../components/CodeExample';
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
@@ -85,7 +85,7 @@ export default function Home() {
|
||||
</p>
|
||||
</div>
|
||||
<div className={styles.typeCode}>
|
||||
<CodeExample code={typeCoercionExample} height={300} noScroll={true} />
|
||||
<CodeExample code={typeCoercionExample} height={370} noScroll={true} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user