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 6499839 commit 7b3b149Copy full SHA for 7b3b149
toc-bar.user.js
@@ -446,6 +446,10 @@ a.toc-link {
446
.is-active-link::before {
447
background-color: var(--toc-bar-active-color);
448
}
449
+
450
+@media print {
451
+ .toc-bar__no-print { display: none !important; }
452
+}
453
/* end tocbot related */
454
`
455
@@ -464,7 +468,7 @@ a.toc-link {
464
468
465
469
this.element = document.createElement('div')
466
470
this.element.id = 'toc-bar'
467
- this.element.classList.add('toc-bar')
471
+ this.element.classList.add('toc-bar', 'toc-bar__no-print')
472
document.body.appendChild(this.element)
473
474
/** @type {Boolean} */
0 commit comments