Permalink
Browse files

wiki: Fix ToC styling for nested <ul>s.

  • Loading branch information...
1 parent cde3b67 commit a2c5f143e1dcd4b4a4054827ca7ab016041c6c59 @chromakode chromakode committed Dec 11, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 r2/r2/public/static/css/reddit.css
@@ -1079,15 +1079,15 @@ a.author { margin-right: 0.5em; }
/* wiki table of contents */
-.md.wiki ul:first-child {
+.md.wiki > ul:first-child {
float: right;
padding: 10px 25px;
margin-right: 0;
border: 1px solid #8D9CAA;
list-style: none;
}
-.md.wiki ul:first-child ul {
+.md.wiki > ul:first-child ul {
margin: 4px 0;
padding-left: 25px;
border-left: 1px dotted #cce;

0 comments on commit a2c5f14

Please sign in to comment.