web/markup: lists leave room for their markers, so a numbered list's numbers aren't cut off at the pane's edge
Signed-off-by: dawn <dawn@tangled.org>
73 unmodified lines7475767778798081808283848586878889909192218 unmodified linesExpand all73 unmodified lines .markup strong { @apply font-semibold; }
/* outside markers hang in the padding, and .markup scrolls, so a marker wider than it gets clipped: "10. " is 4ch, a hundred items need 5 */ .markup ul, .markup ol { @apply pl-xl; padding-left: 4ch; }
.markup ol:has(> li:nth-child(100)) { padding-left: 5ch; }
.markup ul { @apply list-none; } /* a square on the first line's x-height middle, hung in the gutter so the text keeps its218 unmodified linesExpand all