diff --git a/_includes/toc.html b/_includes/toc.html index 604d2c1658e1..15eb93455e54 100644 --- a/_includes/toc.html +++ b/_includes/toc.html @@ -6,8 +6,8 @@ {% endif %} {% if enable_toc %} -
-

{{- site.data.locales[include.lang].panel.toc -}}

+
+

{{- site.data.locales[include.lang].panel.toc -}}

{% endif %} diff --git a/_javascript/modules/components/toc.js b/_javascript/modules/components/toc.js index b397813c01fd..56ce26fac502 100644 --- a/_javascript/modules/components/toc.js +++ b/_javascript/modules/components/toc.js @@ -9,5 +9,7 @@ export function toc() { orderedList: false, scrollSmooth: false }); + + document.getElementById('toc-wrapper').classList.remove('d-none'); } }