summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-01-23 23:38:51 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-01-24 17:58:03 +0530
commit75375a43370f17daddaeda43a9cd9309dd790f16 (patch)
tree7338b621e70468718d046ce20a268e59407b1740
parentb6842db0a5a499446947938ffd1bfbcb7c5debb8 (diff)
rm use of blockquote in Toc
-rw-r--r--assets/css/post-single.css2
-rw-r--r--layouts/_default/single.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/assets/css/post-single.css b/assets/css/post-single.css
index afa6b1d..9394ea3 100644
--- a/assets/css/post-single.css
+++ b/assets/css/post-single.css
@@ -265,7 +265,7 @@
font-weight: 500
}
-.toc blockquote {
+.toc .inner {
margin: 0 20px;
padding: 10px 20px
}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 3e5a43b..d976198 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -40,9 +40,9 @@
<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 }}