Skip to content

Commit

Permalink
rm use of blockquote in Toc
Browse files Browse the repository at this point in the history
  • Loading branch information
adityatelange committed Jan 24, 2021
1 parent b6842db commit 75375a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/css/post-single.css
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
font-weight: 500
}

.toc blockquote {
.toc .inner {
margin: 0 20px;
padding: 10px 20px
}
Expand Down
4 changes: 2 additions & 2 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ <h1 class="post-title">
<summary accesskey="c" title="(Alt + C)">
<div class="details">{{- i18n "toc" | default "Table of Contents" }}</div>
</summary>
<blockquote>
<div class="inner">
{{- partial "toc.html" . }}
</blockquote>
</div>
</details>
</div>
{{- end }}
Expand Down

0 comments on commit 75375a4

Please sign in to comment.