Commit 43c4108d authored by Maxim Belkin's avatar Maxim Belkin Committed by GitHub
Browse files

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.
parent 4030b747
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ div.branding {

ul,
ol {
  padding-left: 1em;
  padding-left: 2em;
}

span.fold-unfold {