website: add lineHeight prop to CodeBlock, use relative values
Default 1.85 (~22px at 12px font), reduced to 1.5 for ASCII diagram. Updated editorial-prism.css base to match.
This commit is contained in:
@@ -150,7 +150,7 @@ export default function IndexPage() {
|
||||
no flags, no special setup.
|
||||
</P>
|
||||
|
||||
<CodeBlock lang="bash">{dedent`
|
||||
<CodeBlock lang="bash" lineHeight="1.5">{dedent`
|
||||
┌─────────────────────┐ ┌──────────────────────┐ ┌─────────────────┐
|
||||
│ BROWSER │ │ LOCALHOST │ │ CLIENT │
|
||||
│ │ │ │ │ │
|
||||
|
||||
Reference in New Issue
Block a user