We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10b110b commit bee8a27Copy full SHA for bee8a27
guide/theme/pagetoc.css
@@ -1,3 +1,11 @@
1
+#content > main {
2
+ display: none;
3
+}
4
+
5
+#content > main.wrapped {
6
+ display: revert;
7
8
9
:root {
10
--toc-width: 270px;
11
--center-content-toc-shift: calc(-1 * var(--toc-width) / 2);
guide/theme/pagetoc.js
@@ -20,6 +20,7 @@ function autoCreatePagetoc() {
20
content.append(...main.childNodes);
21
22
main.appendChild(content);
23
+ main.classList.add("wrapped");
24
25
main.insertAdjacentHTML("beforeend", `
26
<div class="sidetoc">
0 commit comments