Skip to content

Commit 2bfbedb

Browse files
committed
fix styling on doc sidebar
1 parent e229ab8 commit 2bfbedb

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

_includes/docs/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% for doc in site.categories[include.category] reversed %}
99
<li>
1010
<a href="#{{ doc.link }}" class="smooth">
11-
<h5>{{ doc.title }}</h5>
11+
<h5>{{forloop.index}}. {{ doc.title }}</h5>
1212
</a>
1313
</li>
1414
{% endfor %}

_sass/_docs.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
.doc-contents {
2-
// padding: 10px 50px;
3-
// background-color: rgba(27,43,52, 0.05);
4-
border-radius: 3px;
5-
margin: 0;
62
max-width: 400px;
73
list-style: none;
8-
margin-left: 50px;
94
}
105

116
.doc-image {
@@ -20,5 +15,6 @@
2015
@media (min-width: 850px) {
2116
.doc-contents {
2217
font-size: 0.9em;
18+
margin-left: 50px;
2319
}
2420
}

dist/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)