fuzzyworld

fuzzyworld-tools / commit

Indent plain lists so numbers and bullets stay inside the text column

8d3e7e8103a80021621b5a5d8a0f9a3d06dd2622 · Pavel Safronov · 2026-10-28 18:14:01 -0700 · parents 5a659fb7733f

Claude Code usage: this commit ≈0 out / ≈0 cached · cost unknown (no per-model trailer) · session 4 tally 546 in / 257.3K out / 31.8M cached · usage by commit and session

Indent plain lists so numbers and bullets stay inside the text column

The reset in _shared.css removes all list padding, which left markers
in the page margin. Lists with a class are unchanged.

FW-Tokens-In: 546
FW-Tokens-Out: 257265
FW-Tokens-Cached: 31801514
FW-Session: 2b561b3f-f2e7-4c3d-8a96-adefba656c9e
FW-Rtk-Saved: 2546793
FW-Rtk-Cmds: 6093

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
 server/site/style.css | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/server/site/style.css b/server/site/style.css
index 787eaf7..2a60803 100644
--- a/server/site/style.css
+++ b/server/site/style.css
@@ -412,6 +412,19 @@ td.cost .bar.hot {
 }
 
 /* Markdown content */
+/* Plain lists in page content: room for the numbers and bullets, which sit outside the list box
+   (the reset in _shared.css removes all list padding). Lists with a class style themselves. */
+main ul:not([class]),
+main ol:not([class]) {
+  padding-left: 1.75em;
+  margin: 0 0 var(--spacing-md);
+}
+
+main ul:not([class]) li + li,
+main ol:not([class]) li + li {
+  margin-top: 0.25em;
+}
+
 .markdown img,
 main p > img,
 img.blob {