align chart

This commit is contained in:
Oskar Wickström
2024-08-21 20:22:37 +02:00
parent 97bbf9c11b
commit dcba7ef18b
2 changed files with 7 additions and 5 deletions

View File

@@ -175,7 +175,9 @@ code {
figure { figure {
margin: calc(var(--line-height) * 2) 3ch; margin: calc(var(--line-height) * 2) 3ch;
overflow-x: auto;
} }
figcaption { figcaption {
display: block; display: block;
font-style: italic; font-style: italic;

View File

@@ -120,11 +120,11 @@ To have it stand out a bit more, we can wrap it in a `<figure>` tag, and why not
Let's go wild and draw a chart! Let's go wild and draw a chart!
<figure><pre> <figure><pre>
Things I have. Things I Have
████ Usable
████ Usable
15 │ ░░░░ Broken 15 │
░░░░ Broken
12 │ ░ 12 │ ░
│ ░ │ ░