Commit 1640ffc4 authored by ojn's avatar ojn Committed by Shawn Erquhart
Browse files

Fix: number overlap in ordered lists (#53)

Added "margin-right" and position should be relative; otherwise numbers overlap the text items in numbered lists
parent a462128d
......@@ -75,8 +75,9 @@
counter-reset: i 0;
& >li:before {
font-weight: 800;
left: -var(--spacing-medium);
position: absolute;
left: var(--spacing-medium);
margin-right: 1.33rem;
position: relative;
height: 100%;
content: counter(i);
counter-increment: i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment