Index: content-reference.php
===================================================================
--- content-reference.php (revision 3380)
+++ content-reference.php (working copy)
@@ -83,7 +83,16 @@
Index: scss/main.scss
===================================================================
--- scss/main.scss (revision 3380)
+++ scss/main.scss (working copy)
@@ -1053,6 +1053,9 @@
.callout {
margin-top: 30px;
}
+ .table-of-contents {
+ width: 300px;
+ }
}
.callout:before {
@@ -1610,6 +1613,10 @@
padding-left: 45px;
text-indent: -45px;
}
+
+ .table-of-contents {
+ width: 200px;
+ }
}
.two-columns .box {
@@ -1641,6 +1648,10 @@
text-indent: -20px;
font-size: 16px;
}
+ .table-of-contents {
+ width: 100%;
+ margin-bottom: 10px;
+ }
}
&.single-wp-parser-function, &.single-wp-parser-method, &.single-wp-parser-hook {
Index: stylesheets/main.css
===================================================================
--- stylesheets/main.css (revision 3380)
+++ stylesheets/main.css (working copy)
@@ -1262,6 +1262,9 @@
.devhub-wrap .wp-parser-class .callout, .devhub-wrap .wp-parser-function .callout, .devhub-wrap .wp-parser-hook .callout, .devhub-wrap .wp-parser-method .callout {
margin-top: 30px;
}
+.devhub-wrap .wp-parser-class .table-of-contents, .devhub-wrap .wp-parser-function .table-of-contents, .devhub-wrap .wp-parser-hook .table-of-contents, .devhub-wrap .wp-parser-method .table-of-contents {
+ width: 300px;
+}
.devhub-wrap .callout:before {
top: 0.2em;
}
@@ -1668,6 +1671,9 @@
padding-left: 45px;
text-indent: -45px;
}
+ .devhub-wrap .wp-parser-class .table-of-contents, .devhub-wrap .wp-parser-function .table-of-contents, .devhub-wrap .wp-parser-hook .table-of-contents, .devhub-wrap .wp-parser-method .table-of-contents {
+ width: 200px;
+ }
.devhub-wrap .two-columns .box {
width: 99%;
}
@@ -1690,6 +1696,10 @@
text-indent: -20px;
font-size: 16px;
}
+ .devhub-wrap .wp-parser-class .table-of-contents, .devhub-wrap .wp-parser-function .table-of-contents, .devhub-wrap .wp-parser-hook .table-of-contents, .devhub-wrap .wp-parser-method .table-of-contents {
+ width: 100%;
+ margin-bottom: 10px;
+ }
.devhub-wrap.single-wp-parser-function .comment-list li, .devhub-wrap.single-wp-parser-method .comment-list li, .devhub-wrap.single-wp-parser-hook .comment-list li {
padding-left: 0;
padding-right: 0;