website: increase code block line height from 18px to 24px
This commit is contained in:
@@ -377,7 +377,7 @@ export function CodeBlock({ children, lang = "jsx" }: { children: string; lang?:
|
|||||||
fontFamily: "var(--font-code)",
|
fontFamily: "var(--font-code)",
|
||||||
fontSize: "12px",
|
fontSize: "12px",
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
lineHeight: "18px",
|
lineHeight: "24px",
|
||||||
letterSpacing: "normal",
|
letterSpacing: "normal",
|
||||||
color: "var(--text-primary)",
|
color: "var(--text-primary)",
|
||||||
tabSize: 2,
|
tabSize: 2,
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ pre[class*="language-"] {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
line-height: 18px;
|
line-height: 24px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
word-spacing: normal;
|
word-spacing: normal;
|
||||||
|
|||||||
Reference in New Issue
Block a user