Skip to content

Commit dc25e59

Browse files
committed
Fix ol list numbers >9 getting cut off on mobile
1 parent 4117313 commit dc25e59

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/styles/article.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,12 @@ article {
1414
}
1515

1616
ul > li {
17+
margin-left: v-size(4, "em");
1718
list-style-type: circle;
1819
}
1920
ol > li {
20-
list-style-type: decimal;
21-
}
22-
li {
23-
margin-left: v-size(4, "em");
21+
margin-left: v-size(8, "em");
22+
list-style-type: decimal-leading-zero;
2423
}
2524

2625
a:has(picture),

0 commit comments

Comments
 (0)