Skip to content

Commit

Permalink
Make ordered lists start at 1 in guides only
Browse files Browse the repository at this point in the history
  • Loading branch information
gilmoreorless committed Apr 25, 2023
1 parent 387ccd6 commit 67497bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/css/common/_docs.scss
Expand Up @@ -176,6 +176,10 @@
}
}

.docs-content-guides ol {
counter-reset: li 0;
}

.docs-section {
padding-top: 40px;
}
Expand Down
2 changes: 1 addition & 1 deletion pages/partials/guides-partial.hbs
Expand Up @@ -12,7 +12,7 @@
{{/each}}
</div>

<div class="docs-content">
<div class="docs-content docs-content-guides">
{{#each guides}}
<article class="docs-section">
<a class="docs-section-target" id="/{{ slug }}/" name="/{{ slug }}/"></a>
Expand Down

0 comments on commit 67497bd

Please sign in to comment.