Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit 43c4108

Browse files
authored
lesson.scss: 2em left padding for lists
Example of the problem: see "Ten Things You Need To Know" from http://swcarpentry.github.io/lesson-example/ For numbered lists that have more that 9 elements 1 em padding on the left is not sufficient. The result is that "1" in numbers "10" and above is printed on top of the border of encapsulating HTML block. 2 em padding solves this problem for lists with less that 100 elements. It should be safe to safe to assume that numbered lists in Carpentries' lessons should not have more than 99 items.
1 parent 4030b74 commit 43c4108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/css/lesson.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ div.branding {
133133

134134
ul,
135135
ol {
136-
padding-left: 1em;
136+
padding-left: 2em;
137137
}
138138

139139
span.fold-unfold {

0 commit comments

Comments
 (0)