We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我本地添加了 打印时隐藏的功能
@@ -446,6 +446,7 @@ .is-active-link::before { background-color: var(--toc-bar-active-color); } +@media print { .no-print, .no-print * { display: none !important; } } /* end tocbot related */ ` @@ -464,7 +465,7 @@ this.element = document.createElement('div') this.element.id = 'toc-bar' - this.element.classList.add('toc-bar') + this.element.classList.add('toc-bar', 'no-print') document.body.appendChild(this.element) /** @type {Boolean} */
The text was updated successfully, but these errors were encountered:
@maboloshi 求问下为啥需要加 .no-print * 这个?好像没有也能达到效果的
.no-print *
Sorry, something went wrong.
7b3b149
是的 忘了删掉了
我领会这个精神,加进去了。感谢宝贵的反馈 🙏
No branches or pull requests
我本地添加了 打印时隐藏的功能
The text was updated successfully, but these errors were encountered: