Skip to content

Commit

Permalink
style(toc): set padding-left as pe-lg-2
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Apr 2, 2024
1 parent 2a4cc4c commit fdf1475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/hb/modules/blog/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="hb-blog-post-title text-break">{{ .Title }}</h1>
</div>
{{- $tocPos := default "start" site.Params.hb.blog.toc.position }}
{{- if and $toc (ne $tocPos "content") }}
<div class="hb-blog-post-toc text-body-secondary position-sticky overflow-y-auto">
<div class="hb-blog-post-toc pe-lg-2 text-body-secondary position-sticky overflow-y-auto">
{{- partialCached "hb/modules/blog/post/toc" . . }}
</div>
{{- end }}
Expand Down

0 comments on commit fdf1475

Please sign in to comment.