From 8eac2a120b116e57b0812173c35f8ff02f4cc5bf Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Tue, 2 Sep 2025 07:48:32 -0700 Subject: [PATCH] theme: Revise inline code span styling --- assets/css/styles.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/css/styles.css b/assets/css/styles.css index 17cfabfb5..05304a93b 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -130,8 +130,7 @@ body { padding-left: .0625em; } -/* Code spans within paragraphs. */ -p > code, -td > code { +/* Code spans within paragraphs, tables cells, list items, etc. */ +:not(pre) > code { white-space: nowrap; }