Skip to content

Commit

Permalink
Fix sidenote alignment in lists.
Browse files Browse the repository at this point in the history
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 edwardtufte#170.
  • Loading branch information
WesleyAC committed Sep 19, 2021
1 parent 957e9c6 commit e083704
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tufte.css
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,11 @@ img {
position: relative;
}

li .sidenote,
li .marginnote {
margin-right: -65%;
}

.sidenote-number {
counter-increment: sidenote-counter;
}
Expand Down

0 comments on commit e083704

Please sign in to comment.