Skip to content
New issue

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

请问如何使用css在特定笔记中隐藏floating-toc? #110

Open
Erin-2017 opened this issue Jul 22, 2024 · 2 comments
Open

请问如何使用css在特定笔记中隐藏floating-toc? #110

Erin-2017 opened this issue Jul 22, 2024 · 2 comments

Comments

@Erin-2017
Copy link

有一些如homepage之类的页面需要隐藏floating-toc,当我输入下面的代码时,希望通过在特定笔记的cssclasses声明hide-floating-toc来隐藏区块。但并不成功。

.hide-floating-toc .floating-toc { display: none !important; }

但另一方面,当我直接输入下面的代码时,全局的floating-toc区块都会隐藏。

.floating-toc { display: none !important; }

请问有什么方法能满足我的需求呢?

@PrayerLi
Copy link

PrayerLi commented Aug 9, 2024

请问你解决了吗

@Erin-2017
Copy link
Author

请问你解决了吗
完全没有😥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants