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 {
margin: calc(var(--line-height) * 2) 3ch;
overflow-x: auto;
}
figcaption {
display: block;
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!
<figure><pre>
Things I have.
████ Usable
15 │ ░░░░ Broken
Things I Have
████ Usable
15 │
░░░░ Broken
12 │ ░
│ ░