Skip to content

Commit

Permalink
fix ol/ul list styles
Browse files Browse the repository at this point in the history
  • Loading branch information
nishanths committed Oct 16, 2017
1 parent ecb10dc commit ded90f8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
11 changes: 9 additions & 2 deletions dev/less/markdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,20 @@ ul {
margin-bottom: 1.25rem;
}

li {
ul li {
list-style-type: disc;
}

ol li {
list-style-type: decimal;
}

li {
list-style-position: outside;
margin-left: 1em;
}

// Miscenllaneous
// Miscellaneous

em {
font-style: italic;
Expand Down
7 changes: 6 additions & 1 deletion static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,13 @@ section.main .content .markdown dd {
section.main .content .markdown ul {
margin-bottom: 1.25rem;
}
section.main .content .markdown li {
section.main .content .markdown ul li {
list-style-type: disc;
}
section.main .content .markdown ol li {
list-style-type: decimal;
}
section.main .content .markdown li {
list-style-position: outside;
margin-left: 1em;
}
Expand Down

0 comments on commit ded90f8

Please sign in to comment.