From e0837044690d1585b307ca6024b7045bff03cbe3 Mon Sep 17 00:00:00 2001 From: Wesley Aptekar-Cassels Date: Sun, 19 Sep 2021 17:56:43 -0400 Subject: [PATCH] Fix sidenote alignment in lists. The 5% difference is due to the difference in the width of the p elements and the ul/ol elements: 55% and 50%, respectively. Fixes #170. --- tufte.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tufte.css b/tufte.css index 834848e..727fe87 100644 --- a/tufte.css +++ b/tufte.css @@ -288,6 +288,11 @@ img { position: relative; } +li .sidenote, +li .marginnote { + margin-right: -65%; +} + .sidenote-number { counter-increment: sidenote-counter; }