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

Tabs bar not hidden when running Zen mode in fullscreen Obsidian #16

Open
joeyjoeyze opened this issue Feb 15, 2024 · 0 comments
Open

Comments

@joeyjoeyze
Copy link

Tabs bar still blocks text when it is supposed to be hidden by Zen
image

"Spoilers Ahead" should be visible when the tabs bar is hidden.

Element settings screenshot
image

Digging a bit deeper, I found the css that toggles the state of the tabs bar being
https://github.com/Maxymillion/zen/blob/main/styles.css#L246-L258

Which uses a combination of child selector and visibility:gone to hide the tabs bar.

Modifying the code to use display:none produces the desired result.
image

The display:none attribute conflicts with other attributes in the same css class. I have a pull request.

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

1 participant