zen icon indicating copy to clipboard operation
zen copied to clipboard

Tabs bar not hidden when running Zen mode in fullscreen Obsidian

Open joeyjoeyze opened this issue 1 year ago • 0 comments

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.

joeyjoeyze avatar Feb 15 '24 19:02 joeyjoeyze