mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
hide "show/hide sidebar" button in zen mode, fixes #805
This commit is contained in:
parent
1d3608b7bf
commit
50431dd55a
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user