commit dd3333161deb5447480a15af431d640d0fb45b48
parent ad0aed55619887549e09f46cbb9f336c8cfd998f
Author: FIGBERT <figbert@figbert.com>
Date: Tue, 26 Dec 2023 13:44:35 -0500
Give <details> the same margins as <p>
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/content/posts/people-watching-on-the-plane.md b/content/posts/people-watching-on-the-plane.md
@@ -55,7 +55,6 @@ them to post on my blog.
</strong></summary>
IGN says this is called <em>Taken</em>.
</details>
-<br/>
The `<details>` element is really fun and I should use it more. Though
it does lead to a scary amount of `HTML` in my Markdown.
diff --git a/static/global.css b/static/global.css
@@ -53,7 +53,7 @@ a {
}
}
-p {
+p, details {
margin-block-start: 0ch;
margin-block-end: 2ch;
}