From 196cdd9d1148a64fecf1b08c6e6f7f405d227c1d Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 16 Mar 2021 11:23:07 +0100 Subject: [PATCH] CSS: Make kbd and .button inline-block. When they are inline, the borders could overlap with the text above and below. --- assets/blog.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/blog.css b/assets/blog.css index d010953..501400e 100644 --- a/assets/blog.css +++ b/assets/blog.css @@ -154,6 +154,7 @@ div, table, code, img kbd { + display: inline-block; padding: 0.05em; background-color: var(--fg); color: var(--bg); @@ -165,6 +166,7 @@ kbd .button { + display: inline-block; padding: 0 0.1em; border: 0.15em solid; border-color: var(--fg-dim) var(--bg-dark) var(--bg-dark) var(--fg-dim);