mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
hide "show/hide sidebar" button in zen mode, fixes #805
This commit is contained in:
@@ -316,6 +316,8 @@ async function getSomeNotePath(note) {
|
|||||||
cur = parents[0];
|
cur = parents[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
path.push('root');
|
||||||
|
|
||||||
return path.reverse().join('/');
|
return path.reverse().join('/');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<button id="hide-sidebar-button" class="btn btn-sm icon-button bx bx-chevrons-right" title="Hide sidebar"></button>
|
<button id="hide-sidebar-button" class="btn btn-sm icon-button bx bx-chevrons-right hide-in-zen-mode" title="Hide sidebar"></button>
|
||||||
<button id="show-sidebar-button" class="btn btn-sm icon-button bx bx-chevrons-left" title="Show sidebar"></button>
|
<button id="show-sidebar-button" class="btn btn-sm icon-button bx bx-chevrons-lefthide-in-zen-mode" title="Show sidebar"></button>
|
||||||
|
|
||||||
<div id="right-pane" class="hide-in-zen-mode">
|
<div id="right-pane" class="hide-in-zen-mode">
|
||||||
<div id="sidebar-container"></div>
|
<div id="sidebar-container"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user